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.000902/0.000902, allocations: 91.61 kB / 15.36 MB, free: 0.7383 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.005113/0.005113, allocations: 170.4 kB / 16.26 MB, free: 6.613 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.295/1.295, allocations: 205.4 MB / 222.4 MB, free: 5.566 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.671/1.671, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004954/0.0004954, allocations: 11.91 kB / 0.6744 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1892/0.1897, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.001142/0.1909, allocations: 1.005 MB / 0.789 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.522/0.713, allocations: 143.2 MB / 0.9288 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.713, allocations: 0 / 0.9288 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.659e-05/0.7131, allocations: 1.125 kB / 0.9288 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.967e-05/0.7131, allocations: 8.594 kB / 0.9288 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.7134, allocations: 80.53 kB / 0.9289 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.757e-05/0.7135, allocations: 34.58 kB / 0.9289 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.273e-05/0.7135, allocations: 3.641 kB / 0.9289 GB, free: 1.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.565e-05/0.7136, allocations: 17.62 kB / 0.9289 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.947e-05/0.7136, allocations: 19.89 kB / 0.9289 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.7136, allocations: 0 / 0.9289 GB, free: 1.496 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.7139, allocations: 77.36 kB / 0.929 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.288e-05/0.7139, allocations: 4.406 kB / 0.929 GB, free: 1.488 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.714, allocations: 42.27 kB / 0.929 GB, free: 17.46 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.7141, allocations: 66.23 kB / 0.9291 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.7141, allocations: 0 / 0.9291 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.413e-06/0.7141, allocations: 0 / 0.9291 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.7142, allocations: 0.75 kB / 0.9291 GB, free: 17.45 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.0003098/0.7145, allocations: 345.9 kB / 0.9294 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.7145, allocations: 10.97 kB / 0.9294 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.51e-05/0.7146, allocations: 35.42 kB / 0.9295 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001676/0.7147, allocations: 17.47 kB / 0.9295 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.892e-05/0.7148, allocations: 165.6 kB / 0.9297 GB, free: 16.85 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.7148, allocations: 6.969 kB / 0.9297 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.911e-05/0.7149, allocations: 10.59 kB / 0.9297 GB, free: 16.84 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.715, allocations: 60.77 kB / 0.9297 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.715, allocations: 0 / 0.9297 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-06/0.715, allocations: 0 / 0.9297 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.715, allocations: 0 / 0.9297 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.145e-05/0.7151, allocations: 17.05 kB / 0.9297 GB, free: 16.8 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001352/0.7152, allocations: 165.7 kB / 0.9299 GB, free: 16.61 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.971e-05/0.7153, allocations: 56.09 kB / 0.93 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.46e-05/0.7153, allocations: 16.81 kB / 0.93 GB, free: 16.57 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.955e-06/0.7153, allocations: 10.83 kB / 0.93 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.105e-05/0.7153, allocations: 34.25 kB / 0.93 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=7): time 8.91e-07/0.7153, allocations: 0 / 0.93 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=11): time 0.0006171/0.716, allocations: 370.4 kB / 0.9304 GB, free: 16.26 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.747e-05/0.716, allocations: 55.16 kB / 0.9304 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.924e-05/0.7161, allocations: 95.22 kB / 0.9305 GB, free: 16.1 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.7161, allocations: 32.12 kB / 0.9305 GB, free: 16.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 2.48e-05/0.7161, allocations: 83.92 kB / 0.9306 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.102e-05/0.7162, allocations: 38.61 kB / 0.9307 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.7162, allocations: 19.52 kB / 0.9307 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.019e-05/0.7163, allocations: 323.1 kB / 0.931 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.193e-05/0.7163, allocations: 21.89 kB / 0.931 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.02e-05/0.7164, allocations: 34.05 kB / 0.931 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.955e-05/0.7164, allocations: 62.09 kB / 0.9311 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.7164, allocations: 0 / 0.9311 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001189/0.7166, allocations: 96.8 kB / 0.9312 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.668e-06/0.7166, allocations: 2.875 kB / 0.9312 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.7166, allocations: 3.578 kB / 0.9312 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.7166, allocations: 0 / 0.9312 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.7167, allocations: 23.2 kB / 0.9312 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.7167, allocations: 4.297 kB / 0.9312 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.002e-05/0.7168, allocations: 0 / 0.9312 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-06/0.7168, allocations: 6.875 kB / 0.9312 GB, free: 15.55 MB / 0.7325 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.719e-05/0.7168, allocations: 124.7 kB / 0.9314 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.252e-05/0.7169, allocations: 3.453 kB / 0.9314 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.263e-05/0.7169, allocations: 11.22 kB / 0.9314 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.7169, allocations: 0 / 0.9314 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.7169, allocations: 0 / 0.9314 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.7169, allocations: 0.75 kB / 0.9314 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001126/0.717, allocations: 176.7 kB / 0.9315 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.717, allocations: 2.625 kB / 0.9315 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.7172, allocations: 26.53 kB / 0.9316 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.7172, allocations: 0.5625 kB / 0.9316 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.7172, allocations: 0 / 0.9316 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.7172, allocations: 7.156 kB / 0.9316 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7172, allocations: 0.75 kB / 0.9316 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001634/0.7174, allocations: 140 kB / 0.9317 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.7174, allocations: 83.56 kB / 0.9318 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.304e-05/0.7175, allocations: 3.062 kB / 0.9318 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.074e-05/0.7175, allocations: 10.16 kB / 0.9318 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.7176, allocations: 5.453 kB / 0.9318 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.284e-06/0.7176, allocations: 4.438 kB / 0.9318 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.085e-05/0.7176, allocations: 77.48 kB / 0.9319 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7176, allocations: 2.531 kB / 0.9319 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001897/0.7178, allocations: 17.75 kB / 0.9319 GB, free: 14.97 MB / 0.7325 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.000342/0.7182, allocations: 0.673 MB / 0.9326 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.863e-05/0.7183, allocations: 57.47 kB / 0.9326 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.7183, allocations: 0 / 0.9326 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.229e-05/0.7183, allocations: 28.2 kB / 0.9326 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001867/0.7185, allocations: 14.88 kB / 0.9327 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001136/0.7196, allocations: 1.508 MB / 0.9341 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.7199, allocations: 0.6875 MB / 0.9348 GB, free: 12.39 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 6.293e-05/0.7199, allocations: 9.594 kB / 0.9348 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.471e-05/0.72, allocations: 23.12 kB / 0.9348 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.72, allocations: 0 / 0.9348 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01233/0.7323, allocations: 1.454 MB / 0.9362 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001643/0.7325, allocations: 223.8 kB / 0.9365 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.926/2.659, allocations: 3.938 kB / 0.9365 GB, free: 11.95 MB / 0.7325 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)