Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/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.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_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.001233/0.001233, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001083/0.001083, allocations: 196.8 kB / 16.14 MB, free: 6.688 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.246/1.246, allocations: 222.9 MB / 239.8 MB, free: 4.625 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.9162/0.9162, allocations: 143 MB / 433 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 63.91 kB / 0.5136 GB, free: 12.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1274/0.1286, allocations: 82.04 MB / 0.5937 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck): time 0.002062/0.1307, allocations: 1.399 MB / 0.5951 GB, free: 8.539 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.3542/0.4849, allocations: 145.8 MB / 0.7375 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.545e-05/0.485, allocations: 0 / 0.7375 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 3.786e-05/0.4851, allocations: 1.969 kB / 0.7375 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.332e-05/0.4852, allocations: 13.16 kB / 0.7375 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00076/0.486, allocations: 298.6 kB / 0.7378 GB, free: 6.41 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.644e-05/0.4861, allocations: 87.39 kB / 0.7378 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.304e-05/0.4861, allocations: 5 kB / 0.7378 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.624e-05/0.4861, allocations: 28.88 kB / 0.7379 GB, free: 6.371 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.945e-05/0.4862, allocations: 31.47 kB / 0.7379 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.378e-05/0.4862, allocations: 4.125 kB / 0.7379 GB, free: 6.359 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007989/0.487, allocations: 0.4908 MB / 0.7384 GB, free: 6.172 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.595e-05/0.4871, allocations: 21.81 kB / 0.7384 GB, free: 6.16 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/0.4871, allocations: 28.55 kB / 0.7384 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.4875, allocations: 185 kB / 0.7386 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.4875, allocations: 0 / 0.7386 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.22e-07/0.4875, allocations: 0 / 0.7386 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.4875, allocations: 0 / 0.7386 GB, free: 6.086 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004009/0.4879, allocations: 396.8 kB / 0.739 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.4879, allocations: 9.375 kB / 0.739 GB, free: 5.695 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.5e-05/0.488, allocations: 40.23 kB / 0.739 GB, free: 5.652 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003812/0.4884, allocations: 36.19 kB / 0.7391 GB, free: 5.648 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.238e-05/0.4885, allocations: 169.4 kB / 0.7392 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.435e-05/0.4885, allocations: 11.97 kB / 0.7392 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.5e-05/0.4885, allocations: 6.719 kB / 0.7393 GB, free: 5.438 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.4887, allocations: 80.19 kB / 0.7393 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.4887, allocations: 0.5625 kB / 0.7393 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.4887, allocations: 6.375 kB / 0.7393 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.4887, allocations: 0.7812 kB / 0.7393 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.842e-05/0.4888, allocations: 48.09 kB / 0.7394 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.489, allocations: 200 kB / 0.7396 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001708/0.4892, allocations: 90.42 kB / 0.7397 GB, free: 5.113 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.4892, allocations: 28.36 kB / 0.7397 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002053/0.4895, allocations: 183.2 kB / 0.7399 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.4895, allocations: 32.31 kB / 0.7399 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=12): time 1.193e-06/0.4895, allocations: 0 / 0.7399 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of matching and sorting (n=19): time 0.00123/0.4907, allocations: 0.5497 MB / 0.7404 GB, free: 4.512 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.4908, allocations: 53.84 kB / 0.7405 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.413e-05/0.4908, allocations: 99.75 kB / 0.7406 GB, free: 4.348 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.907e-05/0.4908, allocations: 31.08 kB / 0.7406 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 2.391e-05/0.4909, allocations: 80.52 kB / 0.7407 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.554e-05/0.4909, allocations: 70.89 kB / 0.7407 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.216e-05/0.491, allocations: 38.39 kB / 0.7408 GB, free: 4.148 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/0.4911, allocations: 319.9 kB / 0.7411 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.076e-05/0.4912, allocations: 37.94 kB / 0.7411 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.786e-05/0.4912, allocations: 68.14 kB / 0.7412 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001529/0.4914, allocations: 116.8 kB / 0.7413 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4914, allocations: 1.594 kB / 0.7413 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000223/0.4916, allocations: 157.3 kB / 0.7415 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/0.4917, allocations: 4.844 kB / 0.7415 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.4917, allocations: 8.812 kB / 0.7415 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.4917, allocations: 2.469 kB / 0.7415 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001606/0.4918, allocations: 41.38 kB / 0.7415 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4919, allocations: 2.312 kB / 0.7415 GB, free: 3.621 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.546e-05/0.4919, allocations: 5.156 kB / 0.7415 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.4919, allocations: 10.09 kB / 0.7415 GB, free: 3.613 MB / 0.5606 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 7.664e-05/0.492, allocations: 122.6 kB / 0.7416 GB, free: 3.488 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.492, allocations: 13.5 kB / 0.7417 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.4921, allocations: 20.44 kB / 0.7417 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4921, allocations: 2.75 kB / 0.7417 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.4921, allocations: 2.812 kB / 0.7417 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.4921, allocations: 5.375 kB / 0.7417 GB, free: 3.461 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001343/0.4923, allocations: 187 kB / 0.7419 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.4923, allocations: 0 / 0.7419 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001923/0.4925, allocations: 43.7 kB / 0.7419 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.4925, allocations: 2.562 kB / 0.7419 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.4925, allocations: 3.422 kB / 0.7419 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/0.4925, allocations: 1.469 kB / 0.7419 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.4925, allocations: 0 / 0.7419 GB, free: 3.25 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.4928, allocations: 214.1 kB / 0.7421 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.4929, allocations: 89.28 kB / 0.7422 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.953e-05/0.4929, allocations: 7.75 kB / 0.7422 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.493, allocations: 3.688 kB / 0.7422 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.4931, allocations: 18.52 kB / 0.7422 GB, free: 3.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.154e-05/0.4931, allocations: 8.344 kB / 0.7422 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.166e-05/0.4931, allocations: 80.75 kB / 0.7423 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.4931, allocations: 3.406 kB / 0.7423 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002172/0.4933, allocations: 28.59 kB / 0.7423 GB, free: 2.93 MB / 0.5606 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.0004962/0.4938, allocations: 0.7442 MB / 0.7431 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001729/0.494, allocations: 112 kB / 0.7432 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.494, allocations: 0 / 0.7432 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.571e-05/0.4941, allocations: 53.81 kB / 0.7432 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002346/0.4943, allocations: 17.03 kB / 0.7432 GB, free: 2.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001648/0.496, allocations: 1.841 MB / 0.745 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002164/0.4962, allocations: 0.6992 MB / 0.7457 GB, free: 0 / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001416/0.4964, allocations: 26.3 kB / 0.7458 GB, free: 15.99 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.19e-05/0.4964, allocations: 29.25 kB / 0.7458 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.4964, allocations: 2.969 kB / 0.7458 GB, free: 15.97 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.188/0.6845, allocations: 2.242 MB / 0.748 GB, free: 14.94 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/0.6847, allocations: 199.7 kB / 0.7482 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/2.952, allocations: 1.812 kB / 0.7482 GB, free: 14.69 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 BuildSysPro_BuildSysPro_IBPSA_Media_Examples_AirDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)