Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005641/0.005641, allocations: 99.36 kB / 15.73 MB, free: 6.043 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 185.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.039/1.039, allocations: 143.1 MB / 433.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 63.89 kB / 0.595 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5063/0.5078, allocations: 82.02 MB / 0.6751 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002385/0.5102, allocations: 1.334 MB / 0.6764 GB, free: 112 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.164/0.6743, allocations: 148.1 MB / 0.8211 GB, free: 440 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.808e-05/0.6744, allocations: 0 / 0.8211 GB, free: 440 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 4.278e-05/0.6745, allocations: 0 / 0.8211 GB, free: 440 kB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.6747, allocations: 23.84 kB / 0.8211 GB, free: 416 kB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.6759, allocations: 314.6 kB / 0.8214 GB, free: 100 kB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001316/0.676, allocations: 63.77 kB / 0.8215 GB, free: 36 kB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 4.429e-05/0.6761, allocations: 7.984 kB / 0.8215 GB, free: 28 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 7.2e-05/0.6761, allocations: 35.92 kB / 0.8215 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.6763, allocations: 27.91 kB / 0.8215 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.6763, allocations: 4 kB / 0.8215 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009203/0.6772, allocations: 410.8 kB / 0.8219 GB, free: 15.56 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.571e-05/0.6773, allocations: 19.91 kB / 0.8219 GB, free: 15.54 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.929e-05/0.6774, allocations: 27.92 kB / 0.822 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004082/0.6778, allocations: 153.9 kB / 0.8221 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.6778, allocations: 4 kB / 0.8221 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6778, allocations: 0 / 0.8221 GB, free: 15.36 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.6778, allocations: 4 kB / 0.8221 GB, free: 15.36 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005307/0.6783, allocations: 391.3 kB / 0.8225 GB, free: 14.93 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/0.6784, allocations: 8.031 kB / 0.8225 GB, free: 14.92 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.31e-05/0.6784, allocations: 42.67 kB / 0.8225 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004366/0.6789, allocations: 40.89 kB / 0.8226 GB, free: 14.83 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.679, allocations: 164.1 kB / 0.8227 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.679, allocations: 11.94 kB / 0.8228 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.6791, allocations: 19.83 kB / 0.8228 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001822/0.6793, allocations: 73.66 kB / 0.8228 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.13e-05/0.6793, allocations: 4 kB / 0.8228 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.6793, allocations: 4 kB / 0.8228 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.6793, allocations: 0 / 0.8228 GB, free: 14.51 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.626e-05/0.6794, allocations: 51.89 kB / 0.8229 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.6796, allocations: 189.5 kB / 0.8231 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.6798, allocations: 86.61 kB / 0.8232 GB, free: 14.13 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.566e-05/0.6799, allocations: 32.92 kB / 0.8232 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002682/0.6802, allocations: 178.2 kB / 0.8234 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.587e-05/0.6802, allocations: 38.5 kB / 0.8234 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=12): time 1.763e-06/0.6802, allocations: 336 / 0.8234 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=19): time 0.001497/0.6818, allocations: 0.5487 MB / 0.8239 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/0.6818, allocations: 51.41 kB / 0.824 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.348e-05/0.6819, allocations: 101.8 kB / 0.8241 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.141e-05/0.6819, allocations: 33.64 kB / 0.8241 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.179e-05/0.682, allocations: 88.64 kB / 0.8242 GB, free: 12.94 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.154e-05/0.682, allocations: 67 kB / 0.8243 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.819e-05/0.6821, allocations: 41.62 kB / 0.8243 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.6822, allocations: 322.8 kB / 0.8246 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.537e-05/0.6823, allocations: 31.98 kB / 0.8246 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.366e-05/0.6824, allocations: 73.78 kB / 0.8247 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.6826, allocations: 119.4 kB / 0.8248 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6826, allocations: 0 / 0.8248 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002318/0.6828, allocations: 157.4 kB / 0.825 GB, free: 12.1 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.6828, allocations: 8 kB / 0.825 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/0.6828, allocations: 0 / 0.825 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.6829, allocations: 128 / 0.825 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001772/0.683, allocations: 47.92 kB / 0.825 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.6831, allocations: 7.938 kB / 0.825 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.445e-05/0.6831, allocations: 0 / 0.825 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.6831, allocations: 16 kB / 0.8251 GB, free: 12.02 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001049/0.6833, allocations: 121.8 kB / 0.8252 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.44e-05/0.6833, allocations: 4 kB / 0.8252 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.961e-05/0.6833, allocations: 24.36 kB / 0.8252 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.6833, allocations: 4 kB / 0.8252 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.6834, allocations: 3.938 kB / 0.8252 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/0.6834, allocations: 0 / 0.8252 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001652/0.6835, allocations: 193.6 kB / 0.8254 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.6835, allocations: 0 / 0.8254 GB, free: 11.62 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001924/0.6837, allocations: 43.98 kB / 0.8254 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.6838, allocations: 0 / 0.8254 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.6838, allocations: 3.938 kB / 0.8254 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.6838, allocations: 0 / 0.8254 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.6838, allocations: 3.938 kB / 0.8254 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.6841, allocations: 219.2 kB / 0.8256 GB, free: 11.34 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 8.298e-05/0.6842, allocations: 85.09 kB / 0.8257 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.6842, allocations: 4.062 kB / 0.8257 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001157/0.6844, allocations: 8 kB / 0.8257 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.231e-05/0.6844, allocations: 19.92 kB / 0.8258 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.6844, allocations: 7.984 kB / 0.8258 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.862e-05/0.6845, allocations: 83.22 kB / 0.8258 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6845, allocations: 0 / 0.8258 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002313/0.6847, allocations: 28 kB / 0.8259 GB, free: 11.09 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (hLiqSym,hSteSym,hAirSym,cpSym,cvSym) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006506/0.6854, allocations: 0.7511 MB / 0.8266 GB, free: 10.31 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000224/0.6856, allocations: 103.9 kB / 0.8267 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 9.618e-06/0.6856, allocations: 4 kB / 0.8267 GB, free: 10.2 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 7.433e-05/0.6857, allocations: 47.92 kB / 0.8268 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.686, allocations: 21.8 kB / 0.8268 GB, free: 10.14 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002045/0.6881, allocations: 1.825 MB / 0.8286 GB, free: 8.215 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000329/0.6884, allocations: 0.7008 MB / 0.8292 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001278/0.6886, allocations: 24.62 kB / 0.8293 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.913e-05/0.6886, allocations: 27.42 kB / 0.8293 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.6886, allocations: 0 / 0.8293 GB, free: 7.438 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02309/0.7117, allocations: 2.467 MB / 0.8317 GB, free: 5.059 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.494/8.206, allocations: 5.906 kB / 0.8317 GB, free: 5.055 MB / 0.6544 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)