Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.001231/0.001231, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001303/0.001303, allocations: 188.3 kB / 16.13 MB, free: 6.656 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.26/1.26, allocations: 222.9 MB / 239.8 MB, free: 4.57 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9136/0.9136, allocations: 143 MB / 433 MB, free: 11.53 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 56.09 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1313, allocations: 82.04 MB / 0.5937 GB, free: 9.965 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck): time 0.002053/0.1334, allocations: 1.341 MB / 0.595 GB, free: 8.609 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3488/0.4822, allocations: 144.7 MB / 0.7363 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.348e-05/0.4823, allocations: 0 / 0.7363 GB, free: 7.492 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.268e-05/0.4823, allocations: 5.297 kB / 0.7363 GB, free: 7.488 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.86e-05/0.4824, allocations: 6.547 kB / 0.7363 GB, free: 7.484 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003373/0.4827, allocations: 75.97 kB / 0.7364 GB, free: 7.449 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 5.501e-05/0.4828, allocations: 31.55 kB / 0.7364 GB, free: 7.438 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.233e-05/0.4828, allocations: 11.34 kB / 0.7365 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.813e-05/0.4829, allocations: 18.11 kB / 0.7365 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.786e-05/0.4829, allocations: 8.734 kB / 0.7365 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.373e-05/0.4829, allocations: 1.375 kB / 0.7365 GB, free: 7.422 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002425/0.4832, allocations: 86.05 kB / 0.7366 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.4832, allocations: 9.844 kB / 0.7366 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.028e-05/0.4832, allocations: 20.72 kB / 0.7366 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001396/0.4834, allocations: 63.36 kB / 0.7367 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.4834, allocations: 0 / 0.7367 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.41e-07/0.4834, allocations: 0 / 0.7367 GB, free: 7.348 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.4834, allocations: 1.375 kB / 0.7367 GB, free: 7.348 MB / 0.5606 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.0003538/0.4838, allocations: 349.8 kB / 0.737 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.4838, allocations: 9.625 kB / 0.737 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.4839, allocations: 37.33 kB / 0.737 GB, free: 6.941 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001761/0.484, allocations: 13.97 kB / 0.737 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.091e-05/0.4841, allocations: 164.5 kB / 0.7372 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.419e-05/0.4842, allocations: 10.69 kB / 0.7372 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.4842, allocations: 2.75 kB / 0.7372 GB, free: 6.734 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.4843, allocations: 52.62 kB / 0.7373 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.4843, allocations: 2.219 kB / 0.7373 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.4843, allocations: 0 / 0.7373 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.4843, allocations: 1.375 kB / 0.7373 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.542e-05/0.4844, allocations: 21.73 kB / 0.7373 GB, free: 6.688 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001456/0.4845, allocations: 170.8 kB / 0.7375 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.603e-05/0.4846, allocations: 52.12 kB / 0.7375 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.717e-05/0.4847, allocations: 15.52 kB / 0.7375 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.4847, allocations: 1.25 kB / 0.7375 GB, free: 6.438 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.158e-05/0.4847, allocations: 33.66 kB / 0.7376 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=7): time 9.82e-07/0.4847, allocations: 1.312 kB / 0.7376 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of matching and sorting (n=11): time 0.0006619/0.4854, allocations: 379.2 kB / 0.7379 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.4854, allocations: 53.88 kB / 0.738 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.62e-05/0.4855, allocations: 92.42 kB / 0.7381 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.4855, allocations: 27.02 kB / 0.7381 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.178e-05/0.4855, allocations: 84.7 kB / 0.7382 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.186e-05/0.4856, allocations: 39.44 kB / 0.7382 GB, free: 5.777 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.17e-05/0.4856, allocations: 35.88 kB / 0.7382 GB, free: 5.746 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.567e-05/0.4857, allocations: 317.9 kB / 0.7385 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.632e-05/0.4858, allocations: 22.19 kB / 0.7386 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.42e-05/0.4858, allocations: 32.78 kB / 0.7386 GB, free: 5.402 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.042e-05/0.4859, allocations: 62.33 kB / 0.7386 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.4859, allocations: 0 / 0.7386 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001315/0.486, allocations: 91.5 kB / 0.7387 GB, free: 5.312 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.128e-05/0.4861, allocations: 12.62 kB / 0.7387 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.248e-06/0.4861, allocations: 0.5625 kB / 0.7387 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.4861, allocations: 5.359 kB / 0.7388 GB, free: 5.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001086/0.4862, allocations: 24.69 kB / 0.7388 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.4862, allocations: 0 / 0.7388 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.255e-05/0.4863, allocations: 5.938 kB / 0.7388 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.562e-06/0.4863, allocations: 4.859 kB / 0.7388 GB, free: 5.297 MB / 0.5606 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.313e-05/0.4863, allocations: 116.7 kB / 0.7389 GB, free: 5.176 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.671e-05/0.4864, allocations: 7.203 kB / 0.7389 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.232e-05/0.4864, allocations: 17.09 kB / 0.7389 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.4864, allocations: 1.062 kB / 0.7389 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/0.4864, allocations: 6.062 kB / 0.7389 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.634e-06/0.4864, allocations: 0.75 kB / 0.7389 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001111/0.4865, allocations: 169.9 kB / 0.7391 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.4865, allocations: 1.281 kB / 0.7391 GB, free: 4.957 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.4867, allocations: 24.41 kB / 0.7391 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4867, allocations: 2.672 kB / 0.7391 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.4867, allocations: 0 / 0.7391 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4867, allocations: 2.688 kB / 0.7391 GB, free: 4.953 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.4867, allocations: 4.797 kB / 0.7391 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.4869, allocations: 132.5 kB / 0.7393 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.4869, allocations: 86.23 kB / 0.7393 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.707e-05/0.487, allocations: 8.453 kB / 0.7393 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.104e-05/0.4871, allocations: 6.75 kB / 0.7393 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/0.4871, allocations: 4.656 kB / 0.7394 GB, free: 4.754 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.4871, allocations: 6.781 kB / 0.7394 GB, free: 4.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 2.87e-05/0.4871, allocations: 87.16 kB / 0.7394 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4871, allocations: 0 / 0.7394 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001927/0.4873, allocations: 20.38 kB / 0.7395 GB, free: 4.66 MB / 0.5606 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.0003831/0.4877, allocations: 0.6588 MB / 0.7401 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.4878, allocations: 64.47 kB / 0.7402 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4879, allocations: 5.281 kB / 0.7402 GB, free: 4.016 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 3.825e-05/0.4879, allocations: 28.66 kB / 0.7402 GB, free: 4.008 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002182/0.4881, allocations: 10.28 kB / 0.7402 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.4893, allocations: 1.446 MB / 0.7416 GB, free: 2.695 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002/0.4896, allocations: 0.6941 MB / 0.7423 GB, free: 1.992 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.729e-05/0.4896, allocations: 14.98 kB / 0.7423 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.4897, allocations: 16.5 kB / 0.7423 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of SimCode: time 2.51e-07/0.4897, allocations: 0 / 0.7423 GB, free: 1.973 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009654/0.4993, allocations: 1.532 MB / 0.7438 GB, free: 1.762 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001655/0.4995, allocations: 230.5 kB / 0.744 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.524/2.024, allocations: 0 / 0.744 GB, free: 1.508 MB / 0.5606 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Specialized_Air_Examples_PerfectGasDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Specialized.Air.Examples.PerfectGasDerivativeCheck.pipe 2>&1)