Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.707/2.707, allocations: 287.5 MB / 302.4 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001351/0.001351, allocations: 169.8 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.127/2.127, allocations: 205.4 MB / 0.6297 GB, free: 10.49 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009547/0.0009541, allocations: 99.77 kB / 0.743 GB, free: 6.488 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004929/0.0004931, allocations: 14.39 kB / 0.8659 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2333, allocations: 115.3 MB / 0.9785 GB, free: 28.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002215/0.2356, allocations: 0.9861 MB / 0.9794 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9343/1.17, allocations: 133.5 MB / 1.11 GB, free: 2.035 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.455e-05/1.17, allocations: 4 kB / 1.11 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/1.17, allocations: 1.453 kB / 1.11 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 7.077e-05/1.17, allocations: 4.953 kB / 1.11 GB, free: 2.031 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004608/1.171, allocations: 81.53 kB / 1.11 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.321e-05/1.171, allocations: 28.94 kB / 1.11 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.152e-05/1.171, allocations: 4.562 kB / 1.11 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 8.126e-05/1.171, allocations: 14.27 kB / 1.11 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 7.4e-05/1.171, allocations: 15.97 kB / 1.11 GB, free: 2.004 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.676e-05/1.171, allocations: 10.09 kB / 1.11 GB, free: 1.996 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003496/1.171, allocations: 68.5 kB / 1.11 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/1.171, allocations: 3.109 kB / 1.11 GB, free: 1.988 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/1.172, allocations: 33.7 kB / 1.11 GB, free: 17.96 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/1.172, allocations: 48.36 kB / 1.11 GB, free: 17.95 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/1.172, allocations: 2.562 kB / 1.11 GB, free: 17.95 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/1.172, allocations: 0 / 1.11 GB, free: 17.95 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.618e-06/1.172, allocations: 0 / 1.11 GB, free: 17.95 MB / 0.698 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.0004218/1.172, allocations: 345 kB / 1.11 GB, free: 17.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/1.172, allocations: 17.91 kB / 1.11 GB, free: 17.58 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.816e-05/1.172, allocations: 38.31 kB / 1.11 GB, free: 17.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002336/1.173, allocations: 15.34 kB / 1.11 GB, free: 17.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/1.173, allocations: 169.2 kB / 1.111 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/1.173, allocations: 4.781 kB / 1.111 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.723e-05/1.173, allocations: 3.969 kB / 1.111 GB, free: 17.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001558/1.173, allocations: 50.64 kB / 1.111 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.173, allocations: 0.7969 kB / 1.111 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/1.173, allocations: 1.469 kB / 1.111 GB, free: 17.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/1.173, allocations: 9.297 kB / 1.111 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.589e-05/1.173, allocations: 15.3 kB / 1.111 GB, free: 17.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001955/1.173, allocations: 161.2 kB / 1.111 GB, free: 17.11 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001218/1.173, allocations: 52.08 kB / 1.111 GB, free: 17.08 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.014e-05/1.173, allocations: 16.48 kB / 1.111 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/1.173, allocations: 1 kB / 1.111 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.208e-05/1.173, allocations: 40 kB / 1.111 GB, free: 17.03 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/1.174, allocations: 0 / 1.111 GB, free: 17.03 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0009868/1.174, allocations: 376 kB / 1.111 GB, free: 16.76 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.088e-05/1.175, allocations: 52.97 kB / 1.111 GB, free: 16.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.138e-05/1.175, allocations: 99.98 kB / 1.111 GB, free: 16.6 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/1.175, allocations: 29.2 kB / 1.111 GB, free: 16.57 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.662e-05/1.175, allocations: 84.27 kB / 1.112 GB, free: 16.48 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.923e-05/1.175, allocations: 40.56 kB / 1.112 GB, free: 16.46 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/1.175, allocations: 0 / 1.112 GB, free: 16.46 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001446/1.175, allocations: 317.7 kB / 1.112 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.76e-05/1.175, allocations: 19.55 kB / 1.112 GB, free: 16.14 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.155e-05/1.175, allocations: 33.31 kB / 1.112 GB, free: 16.13 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.049e-05/1.175, allocations: 22.12 kB / 1.112 GB, free: 16.13 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/1.175, allocations: 0 / 1.112 GB, free: 16.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002165/1.175, allocations: 101.1 kB / 1.112 GB, free: 16.09 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/1.175, allocations: 4.969 kB / 1.112 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.175, allocations: 0.7031 kB / 1.112 GB, free: 16.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/1.175, allocations: 5.328 kB / 1.112 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/1.176, allocations: 22.92 kB / 1.112 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/1.176, allocations: 1.031 kB / 1.112 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.2e-05/1.176, allocations: 1.062 kB / 1.112 GB, free: 16.08 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/1.176, allocations: 7.172 kB / 1.112 GB, free: 16.08 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001055/1.176, allocations: 119.8 kB / 1.112 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/1.176, allocations: 5.797 kB / 1.112 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.629e-05/1.176, allocations: 11.61 kB / 1.112 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/1.176, allocations: 2.031 kB / 1.112 GB, free: 15.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.176, allocations: 8.547 kB / 1.112 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/1.176, allocations: 4.781 kB / 1.112 GB, free: 15.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000177/1.176, allocations: 171 kB / 1.112 GB, free: 15.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/1.176, allocations: 0.9688 kB / 1.112 GB, free: 15.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002295/1.176, allocations: 20.69 kB / 1.112 GB, free: 15.76 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/1.177, allocations: 1.812 kB / 1.112 GB, free: 15.76 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/1.177, allocations: 2.688 kB / 1.112 GB, free: 15.76 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/1.177, allocations: 5.281 kB / 1.112 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.177, allocations: 0.7031 kB / 1.112 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/1.177, allocations: 140.1 kB / 1.113 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/1.177, allocations: 83.56 kB / 1.113 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/1.177, allocations: 3.781 kB / 1.113 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/1.177, allocations: 3.312 kB / 1.113 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.681e-05/1.177, allocations: 8.062 kB / 1.113 GB, free: 15.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.404e-05/1.177, allocations: 7.016 kB / 1.113 GB, free: 15.58 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.66e-05/1.177, allocations: 80.45 kB / 1.113 GB, free: 15.5 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.177, allocations: 0 / 1.113 GB, free: 15.5 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002823/1.178, allocations: 16.25 kB / 1.113 GB, free: 15.5 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005716/1.178, allocations: 0.6709 MB / 1.113 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001895/1.178, allocations: 60.31 kB / 1.113 GB, free: 14.9 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.178, allocations: 3.125 kB / 1.113 GB, free: 14.9 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 7.13e-05/1.178, allocations: 27.28 kB / 1.114 GB, free: 14.9 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002613/1.179, allocations: 6.859 kB / 1.114 GB, free: 14.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001331/1.18, allocations: 0.6687 MB / 1.114 GB, free: 14.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002827/1.18, allocations: 0.6908 MB / 1.115 GB, free: 13.71 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001186/1.18, allocations: 10.38 kB / 1.115 GB, free: 13.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/1.181, allocations: 15.36 kB / 1.115 GB, free: 13.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.462e-06/1.181, allocations: 1.844 kB / 1.115 GB, free: 13.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0226/1.203, allocations: 1.447 MB / 1.116 GB, free: 13.54 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/1.204, allocations: 211.5 kB / 1.116 GB, free: 13.29 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.524/3.728, allocations: 1.438 kB / 1.117 GB, free: 13.29 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)