Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.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.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_8_0_0_Buildings_Media_Examples_AirDerivativeCheck",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.716/2.716, allocations: 287.5 MB / 302.4 MB, free: 8.258 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.00139/0.001389, allocations: 182.5 kB / 371 MB, free: 10.86 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.238/2.238, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0009479/0.0009475, allocations: 84.73 kB / 0.743 GB, free: 6.582 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007526/0.0007531, allocations: 14.61 kB / 0.8659 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2139/0.2147, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001387/0.2162, allocations: 1.037 MB / 0.9794 GB, free: 27.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8912/1.107, allocations: 134.5 MB / 1.111 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.823e-05/1.107, allocations: 0 / 1.111 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 3.639e-05/1.108, allocations: 2.625 kB / 1.111 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001019/1.108, allocations: 16.5 kB / 1.111 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/1.109, allocations: 219.6 kB / 1.111 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/1.109, allocations: 74.73 kB / 1.111 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/1.109, allocations: 6.75 kB / 1.111 GB, free: 1.887 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 6.093e-05/1.109, allocations: 28.34 kB / 1.111 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/1.109, allocations: 36.69 kB / 1.111 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/1.109, allocations: 2.531 kB / 1.111 GB, free: 1.879 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001163/1.11, allocations: 252.9 kB / 1.111 GB, free: 1.84 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 7.088e-05/1.111, allocations: 20.27 kB / 1.111 GB, free: 1.836 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000121/1.111, allocations: 35.27 kB / 1.111 GB, free: 17.8 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004109/1.111, allocations: 104.5 kB / 1.112 GB, free: 17.79 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.111, allocations: 0 / 1.112 GB, free: 17.79 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.555e-06/1.111, allocations: 1.312 kB / 1.112 GB, free: 17.79 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.97e-06/1.111, allocations: 0 / 1.112 GB, free: 17.79 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005391/1.112, allocations: 380.3 kB / 1.112 GB, free: 17.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/1.112, allocations: 13.52 kB / 1.112 GB, free: 17.41 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.97e-05/1.112, allocations: 45.73 kB / 1.112 GB, free: 17.36 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005524/1.112, allocations: 35.11 kB / 1.112 GB, free: 17.36 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001408/1.113, allocations: 165.5 kB / 1.112 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/1.113, allocations: 10.66 kB / 1.112 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/1.113, allocations: 12.17 kB / 1.112 GB, free: 17.16 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002737/1.113, allocations: 77.55 kB / 1.112 GB, free: 17.13 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/1.113, allocations: 4 kB / 1.112 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.976e-05/1.113, allocations: 1 kB / 1.112 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/1.113, allocations: 4.984 kB / 1.112 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/1.113, allocations: 48.58 kB / 1.112 GB, free: 17.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/1.113, allocations: 182.9 kB / 1.112 GB, free: 16.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002551/1.114, allocations: 92.73 kB / 1.113 GB, free: 16.9 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.62e-05/1.114, allocations: 30.11 kB / 1.113 GB, free: 16.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003273/1.114, allocations: 180 kB / 1.113 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/1.114, allocations: 36.28 kB / 1.113 GB, free: 16.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 2.405e-06/1.114, allocations: 0 / 1.113 GB, free: 16.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.002007/1.116, allocations: 0.5414 MB / 1.113 GB, free: 16.39 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/1.116, allocations: 59.09 kB / 1.113 GB, free: 16.32 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.354e-05/1.116, allocations: 97.5 kB / 1.113 GB, free: 16.23 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/1.116, allocations: 29.98 kB / 1.113 GB, free: 16.2 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.804e-05/1.117, allocations: 81.39 kB / 1.114 GB, free: 16.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.9e-05/1.117, allocations: 70.47 kB / 1.114 GB, free: 16.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/1.117, allocations: 7.812 kB / 1.114 GB, free: 16.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000143/1.117, allocations: 321.9 kB / 1.114 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/1.117, allocations: 32.2 kB / 1.114 GB, free: 15.75 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001381/1.117, allocations: 68.52 kB / 1.114 GB, free: 15.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/1.117, allocations: 46.38 kB / 1.114 GB, free: 15.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/1.117, allocations: 0 / 1.114 GB, free: 15.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003736/1.118, allocations: 152.5 kB / 1.114 GB, free: 15.68 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.118, allocations: 10.56 kB / 1.114 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/1.118, allocations: 5.172 kB / 1.114 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.866e-05/1.118, allocations: 3.172 kB / 1.114 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000319/1.118, allocations: 41.23 kB / 1.114 GB, free: 15.67 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.137e-05/1.118, allocations: 6.453 kB / 1.114 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.31e-05/1.118, allocations: 5.844 kB / 1.114 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.748e-05/1.118, allocations: 5.188 kB / 1.114 GB, free: 15.66 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001346/1.118, allocations: 122.6 kB / 1.114 GB, free: 15.55 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/1.118, allocations: 15.12 kB / 1.114 GB, free: 15.54 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.298e-05/1.118, allocations: 16.83 kB / 1.114 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.081e-06/1.118, allocations: 2.672 kB / 1.114 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/1.118, allocations: 1.125 kB / 1.114 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/1.118, allocations: 4.703 kB / 1.114 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/1.119, allocations: 198.8 kB / 1.115 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/1.119, allocations: 0.7969 kB / 1.115 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003946/1.119, allocations: 38 kB / 1.115 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.119, allocations: 1.156 kB / 1.115 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.82e-05/1.119, allocations: 1.922 kB / 1.115 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/1.119, allocations: 1.188 kB / 1.115 GB, free: 15.34 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/1.119, allocations: 4 kB / 1.115 GB, free: 15.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000476/1.12, allocations: 209.5 kB / 1.115 GB, free: 15.25 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/1.12, allocations: 94.88 kB / 1.115 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/1.12, allocations: 2.062 kB / 1.115 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/1.12, allocations: 7.906 kB / 1.115 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.109e-05/1.12, allocations: 11.86 kB / 1.115 GB, free: 15.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/1.12, allocations: 7.484 kB / 1.115 GB, free: 15.16 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.219e-05/1.12, allocations: 88.69 kB / 1.115 GB, free: 15.07 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.12, allocations: 1.281 kB / 1.115 GB, free: 15.07 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003153/1.121, allocations: 25.41 kB / 1.115 GB, free: 15.07 MB / 0.698 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 (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.0008602/1.121, allocations: 0.7529 MB / 1.116 GB, free: 14.47 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003344/1.122, allocations: 102.2 kB / 1.116 GB, free: 14.46 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/1.122, allocations: 0 / 1.116 GB, free: 14.46 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001228/1.122, allocations: 53.83 kB / 1.116 GB, free: 14.46 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/1.122, allocations: 14.53 kB / 1.116 GB, free: 14.46 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002014/1.124, allocations: 1.007 MB / 1.117 GB, free: 13.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/1.125, allocations: 0.7103 MB / 1.118 GB, free: 13.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000282/1.125, allocations: 19.84 kB / 1.118 GB, free: 13.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.569e-05/1.125, allocations: 25.53 kB / 1.118 GB, free: 13.08 MB / 0.698 GB Notification: Performance of SimCode: time 1.453e-06/1.125, allocations: 1 kB / 1.118 GB, free: 13.08 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0217/1.147, allocations: 2.124 MB / 1.12 GB, free: 12.85 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002493/1.147, allocations: 189.5 kB / 1.12 GB, free: 12.6 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.565/3.712, allocations: 3.938 kB / 1.12 GB, free: 12.6 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_8.0.0_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)