Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_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.001123/0.001123, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.00118/0.00118, allocations: 190.5 kB / 17.2 MB, free: 5.574 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.239/1.239, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7035/0.7035, allocations: 122.8 MB / 413.9 MB, free: 15.94 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.89 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2932, allocations: 77.93 MB / 0.5673 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002087/0.2953, allocations: 1.329 MB / 0.5686 GB, free: 31.75 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1253/0.4206, allocations: 148.1 MB / 0.7132 GB, free: 4.898 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.384e-05/0.4207, allocations: 0 / 0.7132 GB, free: 4.898 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.392e-05/0.4207, allocations: 7.938 kB / 0.7132 GB, free: 4.891 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.428e-05/0.4209, allocations: 15.91 kB / 0.7132 GB, free: 4.875 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008911/0.4218, allocations: 322.6 kB / 0.7135 GB, free: 4.559 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.365e-05/0.4219, allocations: 67.83 kB / 0.7136 GB, free: 4.492 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.273e-05/0.4219, allocations: 7.984 kB / 0.7136 GB, free: 4.484 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.909e-05/0.422, allocations: 35.84 kB / 0.7136 GB, free: 4.449 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.597e-05/0.422, allocations: 27.91 kB / 0.7137 GB, free: 4.422 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.4221, allocations: 4 kB / 0.7137 GB, free: 4.418 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007169/0.4228, allocations: 406.8 kB / 0.714 GB, free: 4.02 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.555e-05/0.4228, allocations: 19.91 kB / 0.7141 GB, free: 4 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.85e-05/0.4229, allocations: 27.92 kB / 0.7141 GB, free: 3.973 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.4232, allocations: 157.9 kB / 0.7142 GB, free: 3.82 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.4232, allocations: 8 kB / 0.7142 GB, free: 3.812 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4232, allocations: 4 kB / 0.7142 GB, free: 3.809 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.4232, allocations: 0 / 0.7142 GB, free: 3.809 MB / 0.545 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.0003706/0.4236, allocations: 387.3 kB / 0.7146 GB, free: 3.383 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.4236, allocations: 8.625 kB / 0.7146 GB, free: 3.375 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.621e-05/0.4237, allocations: 42.73 kB / 0.7147 GB, free: 3.324 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003669/0.424, allocations: 32.81 kB / 0.7147 GB, free: 3.293 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.557e-05/0.4241, allocations: 168.1 kB / 0.7149 GB, free: 3.09 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.4241, allocations: 8 kB / 0.7149 GB, free: 3.082 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.684e-05/0.4242, allocations: 12 kB / 0.7149 GB, free: 3.07 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.4243, allocations: 77.58 kB / 0.715 GB, free: 2.988 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.512e-06/0.4243, allocations: 4 kB / 0.715 GB, free: 2.984 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.4244, allocations: 4 kB / 0.715 GB, free: 2.98 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.897e-06/0.4244, allocations: 3.938 kB / 0.715 GB, free: 2.977 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.528e-05/0.4245, allocations: 47.95 kB / 0.715 GB, free: 2.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001591/0.4246, allocations: 193.4 kB / 0.7152 GB, free: 2.691 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.4248, allocations: 90.64 kB / 0.7153 GB, free: 2.594 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.796e-05/0.4248, allocations: 32.84 kB / 0.7153 GB, free: 2.559 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001969/0.425, allocations: 178.2 kB / 0.7155 GB, free: 2.348 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.4251, allocations: 34.56 kB / 0.7155 GB, free: 2.305 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.4251, allocations: 0 / 0.7155 GB, free: 2.305 MB / 0.545 GB Notification: Performance of matching and sorting (n=19): time 0.001148/0.4262, allocations: 0.549 MB / 0.7161 GB, free: 1.707 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.482e-05/0.4263, allocations: 51.41 kB / 0.7161 GB, free: 1.645 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.058e-05/0.4263, allocations: 101.8 kB / 0.7162 GB, free: 1.535 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.4263, allocations: 33.83 kB / 0.7162 GB, free: 1.496 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 2.226e-05/0.4264, allocations: 80.52 kB / 0.7163 GB, free: 1.414 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.948e-05/0.4264, allocations: 71 kB / 0.7164 GB, free: 1.344 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-05/0.4265, allocations: 41.7 kB / 0.7164 GB, free: 1.297 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 7.87e-05/0.4266, allocations: 318.8 kB / 0.7167 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.599e-05/0.4266, allocations: 39.92 kB / 0.7168 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.307e-05/0.4267, allocations: 68.83 kB / 0.7168 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001377/0.4269, allocations: 123.3 kB / 0.7169 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.4269, allocations: 0 / 0.7169 GB, free: 0.7266 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001959/0.4271, allocations: 153.4 kB / 0.7171 GB, free: 0.5703 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.4271, allocations: 11.98 kB / 0.7171 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.4271, allocations: 0 / 0.7171 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.4271, allocations: 0 / 0.7171 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001561/0.4273, allocations: 39.98 kB / 0.7171 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.4273, allocations: 8.094 kB / 0.7171 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.376e-05/0.4273, allocations: 8 kB / 0.7172 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.037e-06/0.4274, allocations: 4 kB / 0.7172 GB, free: 0.5 MB / 0.545 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 7.27e-05/0.4274, allocations: 125.8 kB / 0.7173 GB, free: 376 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.4275, allocations: 7.906 kB / 0.7173 GB, free: 368 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.886e-05/0.4275, allocations: 16.44 kB / 0.7173 GB, free: 356 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.4275, allocations: 4 kB / 0.7173 GB, free: 352 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.4275, allocations: 3.938 kB / 0.7173 GB, free: 348 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.4275, allocations: 3.984 kB / 0.7173 GB, free: 344 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001262/0.4277, allocations: 189.6 kB / 0.7175 GB, free: 104 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.4277, allocations: 4 kB / 0.7175 GB, free: 100 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001804/0.4278, allocations: 39.92 kB / 0.7175 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.4279, allocations: 4 kB / 0.7175 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.4279, allocations: 0 / 0.7175 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4279, allocations: 3.984 kB / 0.7175 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4279, allocations: 3.938 kB / 0.7175 GB, free: 48 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002716/0.4282, allocations: 209 kB / 0.7177 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.4282, allocations: 92.94 kB / 0.7178 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.886e-05/0.4283, allocations: 8.062 kB / 0.7178 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.4284, allocations: 8.25 kB / 0.7178 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.631e-05/0.4284, allocations: 19.86 kB / 0.7179 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.4284, allocations: 8 kB / 0.7179 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.813e-05/0.4285, allocations: 83.27 kB / 0.718 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.4285, allocations: 0 / 0.718 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002038/0.4287, allocations: 28 kB / 0.718 GB, free: 15.56 MB / 0.5606 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.0004561/0.4291, allocations: 0.748 MB / 0.7187 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001912/0.4293, allocations: 108 kB / 0.7188 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.4293, allocations: 3.938 kB / 0.7188 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.577e-05/0.4294, allocations: 57.98 kB / 0.7189 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.4296, allocations: 19.92 kB / 0.7189 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001532/0.4312, allocations: 1.813 MB / 0.7207 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001814/0.4314, allocations: 0.6969 MB / 0.7213 GB, free: 11.97 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001168/0.4315, allocations: 20.62 kB / 0.7214 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.748e-05/0.4315, allocations: 31.42 kB / 0.7214 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.4315, allocations: 0 / 0.7214 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.748/2.18, allocations: 2.378 MB / 0.7237 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.041/11.22, allocations: 6.484 kB / 0.7237 GB, free: 9.609 MB / 0.5606 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)