Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirDerivativeCheck,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.568/1.568, allocations: 249.3 MB / 261.8 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001808/0.001808, allocations: 184.8 kB / 321.3 MB, free: 14.66 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.848/1.848, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008929/0.0008928, allocations: 84.8 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 5.599e-05/5.612e-05, allocations: 7.984 kB / 0.788 GB, free: 97.04 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2485/0.2486, allocations: 106.3 MB / 0.8919 GB, free: 6.613 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.948/7.197, allocations: 2.208 GB / 3.1 GB, free: 127.1 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/7.197, allocations: 81.27 kB / 3.1 GB, free: 127 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.05652/7.254, allocations: 29.6 MB / 3.129 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.423e-06/7.254, allocations: 0 / 3.129 GB, free: 100.8 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.266e-06/7.254, allocations: 4 kB / 3.129 GB, free: 100.8 MB / 0.8698 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.0003811/7.254, allocations: 374.4 kB / 3.129 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/7.254, allocations: 8.031 kB / 3.129 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.002e-05/7.254, allocations: 42.55 kB / 3.129 GB, free: 100.4 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003433/7.255, allocations: 35.83 kB / 3.129 GB, free: 100.3 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.091e-05/7.255, allocations: 171 kB / 3.129 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/7.255, allocations: 11.92 kB / 3.129 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.071e-05/7.255, allocations: 12 kB / 3.129 GB, free: 100.1 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001622/7.255, allocations: 73.67 kB / 3.129 GB, free: 100 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/7.255, allocations: 0 / 3.129 GB, free: 100 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/7.255, allocations: 0 / 3.129 GB, free: 100 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/7.255, allocations: 3.953 kB / 3.129 GB, free: 100 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001091/7.255, allocations: 47.91 kB / 3.129 GB, free: 99.97 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001784/7.255, allocations: 185.5 kB / 3.13 GB, free: 99.74 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001492/7.255, allocations: 86.66 kB / 3.13 GB, free: 99.65 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.281e-05/7.255, allocations: 28.86 kB / 3.13 GB, free: 99.62 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002012/7.256, allocations: 178.2 kB / 3.13 GB, free: 99.41 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.478e-05/7.256, allocations: 38.5 kB / 3.13 GB, free: 99.36 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/7.256, allocations: 0 / 3.13 GB, free: 99.36 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.001089/7.257, allocations: 0.5106 MB / 3.13 GB, free: 98.8 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.737e-05/7.257, allocations: 63.3 kB / 3.131 GB, free: 98.72 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.836e-05/7.257, allocations: 92.98 kB / 3.131 GB, free: 98.62 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/7.257, allocations: 29.7 kB / 3.131 GB, free: 98.59 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 2.001e-05/7.257, allocations: 88.64 kB / 3.131 GB, free: 98.5 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/7.257, allocations: 63.02 kB / 3.131 GB, free: 98.43 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/7.257, allocations: 4 kB / 3.131 GB, free: 98.43 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.879e-05/7.257, allocations: 322.8 kB / 3.131 GB, free: 98.11 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.208e-05/7.257, allocations: 32 kB / 3.131 GB, free: 98.07 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.592e-05/7.257, allocations: 64.64 kB / 3.131 GB, free: 98 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.694e-05/7.257, allocations: 47.97 kB / 3.131 GB, free: 97.95 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/7.257, allocations: 4 kB / 3.131 GB, free: 97.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000181/7.257, allocations: 149.4 kB / 3.131 GB, free: 97.8 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/7.258, allocations: 11.98 kB / 3.131 GB, free: 97.79 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/7.258, allocations: 0 / 3.131 GB, free: 97.79 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/7.258, allocations: 4 kB / 3.131 GB, free: 97.78 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000155/7.258, allocations: 31.98 kB / 3.131 GB, free: 97.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/7.258, allocations: 4 kB / 3.131 GB, free: 97.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.221e-05/7.258, allocations: 11.89 kB / 3.131 GB, free: 97.73 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.064e-05/7.258, allocations: 8 kB / 3.131 GB, free: 97.73 MB / 0.8698 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 () * 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 6.227e-05/7.258, allocations: 115.4 kB / 3.132 GB, free: 97.61 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.821e-05/7.258, allocations: 11.91 kB / 3.132 GB, free: 97.6 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.496e-05/7.258, allocations: 16.22 kB / 3.132 GB, free: 97.59 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/7.258, allocations: 3.938 kB / 3.132 GB, free: 97.58 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/7.258, allocations: 0 / 3.132 GB, free: 97.58 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/7.258, allocations: 7.984 kB / 3.132 GB, free: 97.57 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/7.258, allocations: 193.6 kB / 3.132 GB, free: 97.34 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.041e-06/7.258, allocations: 0 / 3.132 GB, free: 97.34 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001777/7.258, allocations: 39.92 kB / 3.132 GB, free: 97.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/7.258, allocations: 0 / 3.132 GB, free: 97.3 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.43e-05/7.258, allocations: 12 kB / 3.132 GB, free: 97.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/7.258, allocations: 0 / 3.132 GB, free: 97.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/7.258, allocations: 128 / 3.132 GB, free: 97.29 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002518/7.259, allocations: 204.9 kB / 3.132 GB, free: 97.07 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.147e-05/7.259, allocations: 92.94 kB / 3.132 GB, free: 96.96 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/7.259, allocations: 8.062 kB / 3.132 GB, free: 96.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001129/7.259, allocations: 8 kB / 3.132 GB, free: 96.94 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.841e-05/7.259, allocations: 11.98 kB / 3.132 GB, free: 96.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/7.259, allocations: 4 kB / 3.132 GB, free: 96.93 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 2.26e-05/7.259, allocations: 83.28 kB / 3.132 GB, free: 96.84 MB / 0.8698 GB Notification: Performance of sort global known variables: time 2e-07/7.259, allocations: 3.938 kB / 3.132 GB, free: 96.84 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003508/7.259, allocations: 63.92 kB / 3.132 GB, free: 96.78 MB / 0.8698 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 () * 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.0009367/7.26, allocations: 1.199 MB / 3.133 GB, free: 95.56 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001745/7.26, allocations: 106.5 kB / 3.134 GB, free: 95.46 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/7.26, allocations: 4 kB / 3.134 GB, free: 95.45 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.505e-05/7.26, allocations: 47.94 kB / 3.134 GB, free: 95.41 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/7.261, allocations: 12.42 kB / 3.134 GB, free: 95.39 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000781/7.261, allocations: 0.5203 MB / 3.134 GB, free: 94.84 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/7.262, allocations: 0.7011 MB / 3.135 GB, free: 94.11 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000123/7.262, allocations: 24.77 kB / 3.135 GB, free: 94.08 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.857e-05/7.262, allocations: 27.42 kB / 3.135 GB, free: 94.05 MB / 0.8698 GB Notification: Performance of SimCode: time 2.1e-07/7.262, allocations: 0 / 3.135 GB, free: 94.05 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02517/7.287, allocations: 12.83 MB / 3.147 GB, free: 81.3 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001927/7.287, allocations: 159 kB / 3.148 GB, free: 81.07 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.132/9.42, allocations: 0 / 3.148 GB, free: 81.07 MB / 0.8698 GB (rm -f Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Media_Examples_AirDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Media.Examples.AirDerivativeCheck.pipe 2>&1)