Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.889/1.889, allocations: 288.4 MB / 303.3 MB, free: 8.09 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.001059/0.00106, allocations: 184.5 kB / 372 MB, free: 10.25 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.606/1.606, allocations: 205.4 MB / 0.6307 GB, free: 9.914 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.0008064/0.0008063, allocations: 94.3 kB / 0.744 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000472/0.0004721, allocations: 11 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2608/0.2612, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirDerivativeCheck): time 0.001717/0.263, allocations: 1.041 MB / 0.9806 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7833/1.046, allocations: 134.5 MB / 1.112 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.224e-05/1.046, allocations: 2.219 kB / 1.112 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 5.107e-05/1.047, allocations: 2.109 kB / 1.112 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001299/1.047, allocations: 16.14 kB / 1.112 GB, free: 2.602 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008471/1.048, allocations: 221.9 kB / 1.112 GB, free: 2.551 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0001186/1.048, allocations: 74.55 kB / 1.112 GB, free: 2.539 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/1.048, allocations: 6.469 kB / 1.112 GB, free: 2.535 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 5.384e-05/1.048, allocations: 34.3 kB / 1.112 GB, free: 2.531 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/1.048, allocations: 29.92 kB / 1.112 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/1.048, allocations: 3.531 kB / 1.112 GB, free: 2.527 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006928/1.049, allocations: 248.2 kB / 1.113 GB, free: 2.492 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 5.359e-05/1.049, allocations: 23.05 kB / 1.113 GB, free: 2.488 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001433/1.049, allocations: 32.14 kB / 1.113 GB, free: 18.46 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002153/1.049, allocations: 107.3 kB / 1.113 GB, free: 18.44 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/1.049, allocations: 0 / 1.113 GB, free: 18.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.916e-06/1.049, allocations: 1.188 kB / 1.113 GB, free: 18.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.522e-06/1.049, allocations: 4 kB / 1.113 GB, free: 18.44 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.0005095/1.05, allocations: 374.5 kB / 1.113 GB, free: 18.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.817e-05/1.05, allocations: 16.19 kB / 1.113 GB, free: 18.06 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/1.05, allocations: 36.62 kB / 1.113 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004009/1.05, allocations: 39.53 kB / 1.113 GB, free: 18.02 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/1.05, allocations: 167.4 kB / 1.113 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/1.05, allocations: 7.547 kB / 1.113 GB, free: 17.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.926e-05/1.05, allocations: 18.3 kB / 1.113 GB, free: 17.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001784/1.05, allocations: 77.7 kB / 1.113 GB, free: 17.78 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.186e-06/1.05, allocations: 0 / 1.113 GB, free: 17.78 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/1.05, allocations: 5.359 kB / 1.113 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/1.051, allocations: 1.375 kB / 1.113 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.785e-05/1.051, allocations: 51.89 kB / 1.113 GB, free: 17.77 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/1.051, allocations: 185 kB / 1.114 GB, free: 17.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/1.051, allocations: 91.86 kB / 1.114 GB, free: 17.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/1.051, allocations: 29.55 kB / 1.114 GB, free: 17.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002462/1.051, allocations: 179.8 kB / 1.114 GB, free: 17.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/1.051, allocations: 35.78 kB / 1.114 GB, free: 17.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=12): time 1.332e-06/1.051, allocations: 0 / 1.114 GB, free: 17.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=19): time 0.001325/1.053, allocations: 0.5495 MB / 1.115 GB, free: 17.04 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/1.053, allocations: 57.42 kB / 1.115 GB, free: 16.97 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.425e-05/1.053, allocations: 95.27 kB / 1.115 GB, free: 16.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2e-05/1.053, allocations: 34.81 kB / 1.115 GB, free: 16.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.774e-05/1.053, allocations: 84.98 kB / 1.115 GB, free: 16.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.008e-05/1.053, allocations: 66 kB / 1.115 GB, free: 16.71 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/1.053, allocations: 4.438 kB / 1.115 GB, free: 16.71 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001363/1.053, allocations: 319.5 kB / 1.115 GB, free: 16.4 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.813e-05/1.053, allocations: 34.27 kB / 1.115 GB, free: 16.4 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.066e-05/1.053, allocations: 69.66 kB / 1.115 GB, free: 16.37 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.228e-05/1.053, allocations: 48.06 kB / 1.115 GB, free: 16.36 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/1.053, allocations: 2.812 kB / 1.115 GB, free: 16.36 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002468/1.054, allocations: 157.3 kB / 1.115 GB, free: 16.32 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/1.054, allocations: 5.156 kB / 1.115 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/1.054, allocations: 1.859 kB / 1.115 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/1.054, allocations: 2.469 kB / 1.115 GB, free: 16.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001914/1.054, allocations: 43.27 kB / 1.115 GB, free: 16.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/1.054, allocations: 1.938 kB / 1.115 GB, free: 16.31 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/1.054, allocations: 8.266 kB / 1.116 GB, free: 16.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.124e-05/1.054, allocations: 5.5 kB / 1.116 GB, free: 16.31 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.0001043/1.054, allocations: 134.2 kB / 1.116 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.791e-05/1.054, allocations: 8.031 kB / 1.116 GB, free: 16.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.528e-05/1.054, allocations: 16.64 kB / 1.116 GB, free: 16.17 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/1.054, allocations: 1.375 kB / 1.116 GB, free: 16.17 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/1.054, allocations: 6.156 kB / 1.116 GB, free: 16.17 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/1.054, allocations: 0.5625 kB / 1.116 GB, free: 16.17 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001704/1.054, allocations: 197.2 kB / 1.116 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.054, allocations: 2.469 kB / 1.116 GB, free: 15.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001985/1.055, allocations: 43.44 kB / 1.116 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.055, allocations: 0 / 1.116 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/1.055, allocations: 5.141 kB / 1.116 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/1.055, allocations: 1.375 kB / 1.116 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.055, allocations: 0.5156 kB / 1.116 GB, free: 15.97 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/1.055, allocations: 208.3 kB / 1.116 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.046e-05/1.055, allocations: 94.75 kB / 1.116 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.825e-05/1.055, allocations: 3.75 kB / 1.116 GB, free: 15.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/1.055, allocations: 13.48 kB / 1.116 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.833e-05/1.055, allocations: 8.344 kB / 1.116 GB, free: 15.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.514e-05/1.055, allocations: 9.453 kB / 1.116 GB, free: 15.79 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.1e-05/1.055, allocations: 77.27 kB / 1.116 GB, free: 15.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.055, allocations: 0 / 1.116 GB, free: 15.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002226/1.056, allocations: 28.94 kB / 1.116 GB, free: 15.72 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.0007103/1.056, allocations: 0.7492 MB / 1.117 GB, free: 15.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002349/1.057, allocations: 105.1 kB / 1.117 GB, free: 15.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.057, allocations: 1.859 kB / 1.117 GB, free: 15.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.345e-05/1.057, allocations: 50.94 kB / 1.117 GB, free: 15.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002654/1.057, allocations: 16.7 kB / 1.117 GB, free: 15.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/1.059, allocations: 1.012 MB / 1.118 GB, free: 14.44 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/1.059, allocations: 0.7106 MB / 1.119 GB, free: 13.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001372/1.059, allocations: 24.45 kB / 1.119 GB, free: 13.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.422e-05/1.059, allocations: 25.67 kB / 1.119 GB, free: 13.71 MB / 0.698 GB Notification: Performance of SimCode: time 4e-07/1.059, allocations: 1.094 kB / 1.119 GB, free: 13.71 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01616/1.075, allocations: 2.143 MB / 1.121 GB, free: 13.48 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001716/1.075, allocations: 187.6 kB / 1.121 GB, free: 13.25 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.889/2.965, allocations: 0 / 1.121 GB, free: 13.25 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_maint.8.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)