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.001351/0.001351, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001432/0.001431, allocations: 207.3 kB / 16.79 MB, free: 6.84 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.337/1.337, allocations: 222.9 MB / 240.5 MB, free: 4.602 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6941/0.6941, allocations: 115.3 MB / 405.9 MB, free: 2.805 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 65.17 kB / 493 MB, free: 6.766 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1308/0.1321, allocations: 76.18 MB / 0.5558 GB, free: 10.8 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.002365/0.1345, allocations: 1.4 MB / 0.5572 GB, free: 9.383 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3901/0.5246, allocations: 145.8 MB / 0.6996 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.127e-05/0.5247, allocations: 0 / 0.6996 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.178e-05/0.5247, allocations: 0 / 0.6996 GB, free: 3.844 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001122/0.5249, allocations: 15.91 kB / 0.6996 GB, free: 3.828 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009812/0.5259, allocations: 299.4 kB / 0.6999 GB, free: 3.539 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001309/0.526, allocations: 91.67 kB / 0.7 GB, free: 3.449 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.766e-05/0.5261, allocations: 3.984 kB / 0.7 GB, free: 3.445 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 4.43e-05/0.5261, allocations: 27.92 kB / 0.7 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 9.52e-05/0.5262, allocations: 31.91 kB / 0.7 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.5262, allocations: 4 kB / 0.7 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00096/0.5272, allocations: 0.4948 MB / 0.7005 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.8e-05/0.5273, allocations: 15.97 kB / 0.7005 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.656e-05/0.5273, allocations: 23.88 kB / 0.7005 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003983/0.5277, allocations: 189.8 kB / 0.7007 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.5277, allocations: 0 / 0.7007 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5277, allocations: 0 / 0.7007 GB, free: 2.664 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.921e-06/0.5278, allocations: 0 / 0.7007 GB, free: 2.664 MB / 0.5137 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.0005061/0.5283, allocations: 400 kB / 0.7011 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.37e-05/0.5283, allocations: 8.031 kB / 0.7011 GB, free: 2.219 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.237e-05/0.5284, allocations: 42.73 kB / 0.7012 GB, free: 2.168 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004346/0.5288, allocations: 28.91 kB / 0.7012 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.5289, allocations: 172.3 kB / 0.7013 GB, free: 1.934 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.5289, allocations: 3.938 kB / 0.7014 GB, free: 1.93 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.529, allocations: 19.89 kB / 0.7014 GB, free: 1.91 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/0.5292, allocations: 73.66 kB / 0.7014 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.5292, allocations: 0 / 0.7014 GB, free: 1.832 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.5292, allocations: 4 kB / 0.7014 GB, free: 1.828 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.5292, allocations: 4 kB / 0.7014 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.5293, allocations: 51.83 kB / 0.7015 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002076/0.5295, allocations: 193.5 kB / 0.7017 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001808/0.5297, allocations: 82.61 kB / 0.7018 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.445e-05/0.5298, allocations: 32.94 kB / 0.7018 GB, free: 1.41 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002393/0.53, allocations: 182.2 kB / 0.702 GB, free: 1.195 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.5301, allocations: 34.56 kB / 0.702 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.5301, allocations: 0 / 0.702 GB, free: 1.152 MB / 0.5137 GB Notification: Performance of matching and sorting (n=19): time 0.001358/0.5315, allocations: 0.5437 MB / 0.7025 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/0.5315, allocations: 51.41 kB / 0.7026 GB, free: 0.4961 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.211e-05/0.5316, allocations: 105.8 kB / 0.7027 GB, free: 392 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.95e-05/0.5316, allocations: 33.7 kB / 0.7027 GB, free: 352 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.823e-05/0.5316, allocations: 80.52 kB / 0.7028 GB, free: 268 kB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/0.5317, allocations: 63.02 kB / 0.7028 GB, free: 204 kB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.835e-05/0.5318, allocations: 45.83 kB / 0.7029 GB, free: 152 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001109/0.5319, allocations: 318.8 kB / 0.7032 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.628e-05/0.5319, allocations: 35.98 kB / 0.7032 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.15e-05/0.532, allocations: 68.02 kB / 0.7033 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.5322, allocations: 115.9 kB / 0.7034 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.5322, allocations: 0 / 0.7034 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002265/0.5325, allocations: 169.1 kB / 0.7036 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.5325, allocations: 5.719 kB / 0.7036 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.5325, allocations: 0 / 0.7036 GB, free: 15.42 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.5325, allocations: 7.984 kB / 0.7036 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.5327, allocations: 35.92 kB / 0.7036 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.752e-06/0.5327, allocations: 4 kB / 0.7036 GB, free: 15.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.044e-05/0.5328, allocations: 7.938 kB / 0.7036 GB, free: 15.36 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.092e-05/0.5328, allocations: 11.94 kB / 0.7036 GB, free: 15.35 MB / 0.5294 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 9.402e-05/0.5329, allocations: 117.8 kB / 0.7037 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.5329, allocations: 11.91 kB / 0.7038 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.533, allocations: 16.44 kB / 0.7038 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.533, allocations: 4 kB / 0.7038 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.373e-06/0.533, allocations: 7.922 kB / 0.7038 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.533, allocations: 3.938 kB / 0.7038 GB, free: 15.19 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000162/0.5332, allocations: 198.2 kB / 0.704 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.5332, allocations: 0 / 0.704 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.5334, allocations: 35.98 kB / 0.704 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5334, allocations: 0 / 0.704 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.529e-05/0.5334, allocations: 7.938 kB / 0.704 GB, free: 14.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.5334, allocations: 8 kB / 0.704 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.5334, allocations: 0 / 0.704 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.5337, allocations: 214.9 kB / 0.7042 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.266e-05/0.5338, allocations: 89.16 kB / 0.7043 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.192e-05/0.5338, allocations: 4 kB / 0.7043 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001269/0.534, allocations: 8 kB / 0.7043 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.534, allocations: 11.92 kB / 0.7043 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.534, allocations: 15.98 kB / 0.7044 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.203e-05/0.5341, allocations: 79.28 kB / 0.7044 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of sort global known variables: time 5.11e-07/0.5341, allocations: 0 / 0.7044 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002248/0.5343, allocations: 24 kB / 0.7045 GB, free: 14.43 MB / 0.5294 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.0005715/0.5349, allocations: 0.7563 MB / 0.7052 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002063/0.5351, allocations: 99.95 kB / 0.7053 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5351, allocations: 0 / 0.7053 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.447e-05/0.5352, allocations: 55.92 kB / 0.7053 GB, free: 13.49 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.5355, allocations: 20.39 kB / 0.7054 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001877/0.5374, allocations: 1.849 MB / 0.7072 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.5376, allocations: 0.6972 MB / 0.7078 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001455/0.5378, allocations: 24.62 kB / 0.7079 GB, free: 10.78 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.185e-05/0.5379, allocations: 27.42 kB / 0.7079 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of SimCode: time 2.51e-07/0.5379, allocations: 0 / 0.7079 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0121/0.55, allocations: 2.224 MB / 0.7101 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001759/0.5502, allocations: 184.5 kB / 0.7102 GB, free: 8.355 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.795/2.346, allocations: 0 / 0.7102 GB, free: 8.355 MB / 0.5294 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)