Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",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.0009886/0.0009887, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001041/0.001041, allocations: 187.3 kB / 16.25 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.238/1.238, allocations: 205.1 MB / 222.1 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.549/1.549, allocations: 292.3 MB / 0.5485 GB, free: 13.63 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 64.59 kB / 0.6711 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1811, allocations: 114.6 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002179/0.1834, allocations: 1.344 MB / 0.7843 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.4562/0.6396, allocations: 144.8 MB / 0.9257 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.527e-05/0.6397, allocations: 0 / 0.9257 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.379e-05/0.6397, allocations: 0.75 kB / 0.9257 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.079e-05/0.6398, allocations: 3.625 kB / 0.9257 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003336/0.6401, allocations: 89.69 kB / 0.9258 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 5.498e-05/0.6402, allocations: 35.44 kB / 0.9258 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.416e-05/0.6402, allocations: 7.891 kB / 0.9259 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.574e-05/0.6403, allocations: 13.41 kB / 0.9259 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.346e-05/0.6403, allocations: 14.3 kB / 0.9259 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.122e-05/0.6403, allocations: 2.312 kB / 0.9259 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002089/0.6405, allocations: 79.95 kB / 0.926 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.6406, allocations: 7.094 kB / 0.926 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.475e-05/0.6406, allocations: 17.16 kB / 0.926 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.6407, allocations: 61.67 kB / 0.926 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.6407, allocations: 4 kB / 0.926 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6407, allocations: 0 / 0.926 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.6408, allocations: 1.125 kB / 0.926 GB, free: 6.246 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003885/0.6411, allocations: 351.8 kB / 0.9264 GB, free: 21.89 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.6412, allocations: 9.281 kB / 0.9264 GB, free: 21.89 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.6412, allocations: 36.28 kB / 0.9264 GB, free: 21.85 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.6414, allocations: 16.42 kB / 0.9264 GB, free: 21.85 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.399e-05/0.6415, allocations: 165.3 kB / 0.9266 GB, free: 21.65 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.125e-05/0.6415, allocations: 10.75 kB / 0.9266 GB, free: 21.64 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.6415, allocations: 10.94 kB / 0.9266 GB, free: 21.64 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000103/0.6417, allocations: 47.84 kB / 0.9267 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.151e-06/0.6417, allocations: 0 / 0.9267 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.6417, allocations: 12.03 kB / 0.9267 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-06/0.6417, allocations: 1.031 kB / 0.9267 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.136e-05/0.6417, allocations: 12.56 kB / 0.9267 GB, free: 21.61 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.6419, allocations: 166.9 kB / 0.9268 GB, free: 21.41 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 7.245e-05/0.642, allocations: 54.47 kB / 0.9269 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.468e-05/0.642, allocations: 19.45 kB / 0.9269 GB, free: 21.38 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.642, allocations: 1.094 kB / 0.9269 GB, free: 21.38 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.118e-05/0.642, allocations: 32.59 kB / 0.927 GB, free: 21.34 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.642, allocations: 0.6562 kB / 0.927 GB, free: 21.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=11): time 0.0006349/0.6427, allocations: 379.9 kB / 0.9273 GB, free: 21.08 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.6427, allocations: 55.12 kB / 0.9274 GB, free: 21.02 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.422e-05/0.6428, allocations: 91.11 kB / 0.9275 GB, free: 20.92 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.6428, allocations: 26.95 kB / 0.9275 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 2.414e-05/0.6428, allocations: 84.02 kB / 0.9276 GB, free: 20.81 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.731e-05/0.6429, allocations: 35.44 kB / 0.9276 GB, free: 20.79 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.6429, allocations: 28.67 kB / 0.9276 GB, free: 20.77 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.643, allocations: 320.2 kB / 0.9279 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.381e-05/0.643, allocations: 25.34 kB / 0.928 GB, free: 20.45 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.06e-05/0.6431, allocations: 37.48 kB / 0.928 GB, free: 20.43 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.202e-05/0.6432, allocations: 62.19 kB / 0.928 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.6432, allocations: 0 / 0.928 GB, free: 20.41 MB / 0.7481 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001229/0.6433, allocations: 96.75 kB / 0.9281 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.6433, allocations: 4.719 kB / 0.9281 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.6433, allocations: 4.188 kB / 0.9281 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.6433, allocations: 1.812 kB / 0.9281 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.6435, allocations: 24.81 kB / 0.9282 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.6435, allocations: 0.75 kB / 0.9282 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.057e-05/0.6435, allocations: 5.125 kB / 0.9282 GB, free: 20.38 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.754e-06/0.6435, allocations: 6.359 kB / 0.9282 GB, free: 20.38 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (14): * Single equations (assignments): 14 * 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 6.903e-05/0.6436, allocations: 122.9 kB / 0.9283 GB, free: 20.26 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.538e-05/0.6436, allocations: 4.297 kB / 0.9283 GB, free: 20.26 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.6436, allocations: 7.406 kB / 0.9283 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.6436, allocations: 2.438 kB / 0.9283 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6437, allocations: 4 kB / 0.9283 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.6437, allocations: 0 / 0.9283 GB, free: 20.25 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001022/0.6438, allocations: 176.8 kB / 0.9285 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6438, allocations: 1 kB / 0.9285 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001148/0.6439, allocations: 20.77 kB / 0.9285 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.6439, allocations: 3.141 kB / 0.9285 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.6439, allocations: 7.188 kB / 0.9285 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.6439, allocations: 3.375 kB / 0.9285 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.6439, allocations: 1.031 kB / 0.9285 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.6441, allocations: 144.8 kB / 0.9287 GB, free: 19.98 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.6442, allocations: 87.47 kB / 0.9287 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.6442, allocations: 4.156 kB / 0.9287 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.505e-05/0.6443, allocations: 5.141 kB / 0.9288 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.246e-05/0.6443, allocations: 7.844 kB / 0.9288 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.6443, allocations: 2.75 kB / 0.9288 GB, free: 19.88 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.11e-05/0.6444, allocations: 79.3 kB / 0.9288 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6444, allocations: 0 / 0.9288 GB, free: 19.81 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0001916/0.6446, allocations: 20.12 kB / 0.9289 GB, free: 19.8 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,hSteSym,hAirSym) * 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 (11): * Single equations (assignments): 11 * 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.0003879/0.645, allocations: 0.6703 MB / 0.9295 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001224/0.6451, allocations: 65.39 kB / 0.9296 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.6451, allocations: 0.9688 kB / 0.9296 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 3.532e-05/0.6451, allocations: 28.58 kB / 0.9296 GB, free: 19.21 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.6453, allocations: 12.75 kB / 0.9296 GB, free: 19.2 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/0.6465, allocations: 1.462 MB / 0.931 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.6467, allocations: 0.6828 MB / 0.9317 GB, free: 17.26 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.268e-05/0.6467, allocations: 12.98 kB / 0.9317 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.359e-05/0.6468, allocations: 15.94 kB / 0.9317 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.6468, allocations: 0 / 0.9317 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.341/1.988, allocations: 1.574 MB / 0.9333 GB, free: 17.01 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002137/1.988, allocations: 216.2 kB / 0.9335 GB, free: 16.76 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.593/3.582, allocations: 1.125 kB / 0.9335 GB, free: 16.76 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > Buildings_8_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)