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.731/2.731, allocations: 287.3 MB / 302.3 MB, free: 8.395 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.001644/0.001644, allocations: 196.9 kB / 370.8 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.217/2.217, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001171/0.001171, allocations: 105.5 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000645/0.0006452, allocations: 12.12 kB / 0.8657 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2255, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001477/0.2271, allocations: 1.023 MB / 0.9793 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9128/1.14, allocations: 125.2 MB / 1.101 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.871e-05/1.14, allocations: 0 / 1.101 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 6.301e-05/1.14, allocations: 3.984 kB / 1.102 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 5.74e-05/1.14, allocations: 12.28 kB / 1.102 GB, free: 2.027 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001083/1.141, allocations: 241.8 kB / 1.102 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 8.496e-05/1.141, allocations: 35.55 kB / 1.102 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 5.184e-05/1.141, allocations: 2.75 kB / 1.102 GB, free: 2.012 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.188e-05/1.141, allocations: 30.78 kB / 1.102 GB, free: 2.008 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.273e-05/1.142, allocations: 35.02 kB / 1.102 GB, free: 2 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/1.142, allocations: 3.688 kB / 1.102 GB, free: 2 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/1.143, allocations: 288.2 kB / 1.102 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/1.143, allocations: 9.188 kB / 1.102 GB, free: 1.984 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 3.813e-05/1.143, allocations: 32.58 kB / 1.102 GB, free: 1.953 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0003085/1.143, allocations: 101.6 kB / 1.102 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/1.143, allocations: 0 / 1.102 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.893e-06/1.143, allocations: 1.375 kB / 1.102 GB, free: 1.949 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 5.48e-06/1.143, allocations: 0 / 1.102 GB, free: 1.949 MB / 0.6823 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.0006056/1.144, allocations: 382.2 kB / 1.103 GB, free: 17.57 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/1.144, allocations: 16.28 kB / 1.103 GB, free: 17.56 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.871e-05/1.144, allocations: 42.89 kB / 1.103 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005157/1.144, allocations: 36.92 kB / 1.103 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/1.145, allocations: 162.4 kB / 1.103 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/1.145, allocations: 6.5 kB / 1.103 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.176e-05/1.145, allocations: 13 kB / 1.103 GB, free: 17.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/1.145, allocations: 79.83 kB / 1.103 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/1.145, allocations: 0 / 1.103 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/1.145, allocations: 4.75 kB / 1.103 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.158e-05/1.145, allocations: 5.359 kB / 1.103 GB, free: 17.28 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/1.145, allocations: 46.73 kB / 1.103 GB, free: 17.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002395/1.145, allocations: 183.6 kB / 1.103 GB, free: 17.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002416/1.146, allocations: 89.61 kB / 1.103 GB, free: 17.06 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.915e-05/1.146, allocations: 13.08 kB / 1.103 GB, free: 17.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.056e-05/1.146, allocations: 40.11 kB / 1.103 GB, free: 17.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.994e-06/1.146, allocations: 1.469 kB / 1.103 GB, free: 17.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001965/1.148, allocations: 0.5416 MB / 1.104 GB, free: 16.74 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.959e-05/1.148, allocations: 57.64 kB / 1.104 GB, free: 16.67 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.842e-05/1.148, allocations: 97.59 kB / 1.104 GB, free: 16.57 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/1.148, allocations: 31.45 kB / 1.104 GB, free: 16.54 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/1.148, allocations: 83.41 kB / 1.104 GB, free: 16.46 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.099e-05/1.148, allocations: 66.52 kB / 1.104 GB, free: 16.42 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/1.148, allocations: 4.875 kB / 1.104 GB, free: 16.42 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001533/1.148, allocations: 322 kB / 1.104 GB, free: 16.1 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001027/1.148, allocations: 37.2 kB / 1.105 GB, free: 16.1 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001341/1.148, allocations: 70.73 kB / 1.105 GB, free: 16.07 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001276/1.149, allocations: 45.39 kB / 1.105 GB, free: 16.06 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/1.149, allocations: 0 / 1.105 GB, free: 16.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003734/1.149, allocations: 153.4 kB / 1.105 GB, free: 16.02 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.149, allocations: 6.891 kB / 1.105 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/1.149, allocations: 1.125 kB / 1.105 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/1.149, allocations: 6.25 kB / 1.105 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/1.149, allocations: 40.33 kB / 1.105 GB, free: 16.02 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.117e-05/1.149, allocations: 8.5 kB / 1.105 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.75e-05/1.15, allocations: 3.344 kB / 1.105 GB, free: 16.01 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/1.15, allocations: 13.44 kB / 1.105 GB, free: 16.01 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.0001355/1.15, allocations: 121.1 kB / 1.105 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/1.15, allocations: 8.625 kB / 1.105 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.949e-05/1.15, allocations: 18.09 kB / 1.105 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/1.15, allocations: 6.719 kB / 1.105 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/1.15, allocations: 1.594 kB / 1.105 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/1.15, allocations: 3.953 kB / 1.105 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002581/1.15, allocations: 191.1 kB / 1.105 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/1.15, allocations: 3.938 kB / 1.105 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/1.151, allocations: 38.2 kB / 1.105 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/1.151, allocations: 3.938 kB / 1.105 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/1.151, allocations: 3.969 kB / 1.105 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/1.151, allocations: 1.062 kB / 1.105 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.151, allocations: 1.219 kB / 1.105 GB, free: 15.68 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004685/1.151, allocations: 207.2 kB / 1.105 GB, free: 15.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001236/1.151, allocations: 93.53 kB / 1.106 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.814e-05/1.151, allocations: 4.844 kB / 1.106 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/1.152, allocations: 9.344 kB / 1.106 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/1.152, allocations: 8.625 kB / 1.106 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.462e-05/1.152, allocations: 8.578 kB / 1.106 GB, free: 15.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.496e-05/1.152, allocations: 81.05 kB / 1.106 GB, free: 15.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.91e-07/1.152, allocations: 4.094 kB / 1.106 GB, free: 15.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003391/1.152, allocations: 28.73 kB / 1.106 GB, free: 15.42 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.0008456/1.153, allocations: 0.7422 MB / 1.106 GB, free: 14.82 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003201/1.153, allocations: 110.5 kB / 1.107 GB, free: 14.81 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/1.153, allocations: 9.438 kB / 1.107 GB, free: 14.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001241/1.153, allocations: 56.27 kB / 1.107 GB, free: 14.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/1.154, allocations: 8.203 kB / 1.107 GB, free: 14.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/1.156, allocations: 1.452 MB / 1.108 GB, free: 13.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003648/1.156, allocations: 0.7079 MB / 1.109 GB, free: 13 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002684/1.157, allocations: 18.81 kB / 1.109 GB, free: 12.99 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.632e-05/1.157, allocations: 27.94 kB / 1.109 GB, free: 12.98 MB / 0.698 GB Notification: Performance of SimCode: time 1.163e-06/1.157, allocations: 0 / 1.109 GB, free: 12.98 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02255/1.179, allocations: 2.105 MB / 1.111 GB, free: 12.75 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000236/1.18, allocations: 186.9 kB / 1.111 GB, free: 12.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/3.649, allocations: 1.859 kB / 1.111 GB, free: 12.5 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)