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/BuildSysPro 3.5.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 BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7118/0.7118, allocations: 127.4 MB / 134.9 MB, free: 3.711 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001191/0.001191, allocations: 180.9 kB / 164.7 MB, free: 6.531 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.754/1.754, allocations: 205.2 MB / 399.5 MB, free: 5.859 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000952/0.0009523, allocations: 98.95 kB / 476.7 MB, free: 8.586 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.688e-05/2.754e-05, allocations: 4 kB / 0.5467 GB, free: 60.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1765, allocations: 76.75 MB / 0.6216 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.693/5.869, allocations: 2.164 GB / 2.786 GB, free: 67.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/5.87, allocations: 79.95 kB / 2.786 GB, free: 67.7 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0556/5.925, allocations: 29.64 MB / 2.815 GB, free: 37.82 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.294e-06/5.925, allocations: 0 / 2.815 GB, free: 37.82 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.264e-06/5.925, allocations: 0 / 2.815 GB, free: 37.82 MB / 0.6355 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.000378/5.926, allocations: 382.3 kB / 2.815 GB, free: 37.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/5.926, allocations: 11.97 kB / 2.815 GB, free: 37.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003719/5.926, allocations: 44.64 kB / 2.815 GB, free: 37.34 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001038/5.926, allocations: 159.1 kB / 2.816 GB, free: 37.15 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/5.926, allocations: 4 kB / 2.816 GB, free: 37.14 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/5.926, allocations: 8 kB / 2.816 GB, free: 37.14 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001382/5.927, allocations: 43.91 kB / 2.816 GB, free: 37.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/5.927, allocations: 69.61 kB / 2.816 GB, free: 37.02 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/5.927, allocations: 0 / 2.816 GB, free: 37.02 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.569e-05/5.927, allocations: 0 / 2.816 GB, free: 37.02 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/5.927, allocations: 0 / 2.816 GB, free: 37.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001662/5.927, allocations: 158.1 kB / 2.816 GB, free: 36.83 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/5.927, allocations: 86.44 kB / 2.816 GB, free: 36.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.348e-05/5.927, allocations: 28.94 kB / 2.816 GB, free: 36.7 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002345/5.927, allocations: 174.2 kB / 2.816 GB, free: 36.5 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/5.927, allocations: 38.56 kB / 2.816 GB, free: 36.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/5.927, allocations: 0 / 2.816 GB, free: 36.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=19): time 0.001076/5.929, allocations: 489.5 kB / 2.817 GB, free: 35.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.612e-05/5.929, allocations: 59.36 kB / 2.817 GB, free: 35.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.741e-05/5.929, allocations: 89 kB / 2.817 GB, free: 35.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/5.929, allocations: 29.83 kB / 2.817 GB, free: 35.72 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 1.869e-05/5.929, allocations: 84.52 kB / 2.817 GB, free: 35.63 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.507e-05/5.929, allocations: 67 kB / 2.817 GB, free: 35.57 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.622e-06/5.929, allocations: 0 / 2.817 GB, free: 35.57 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.544e-05/5.929, allocations: 314.8 kB / 2.817 GB, free: 35.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-05/5.929, allocations: 31.98 kB / 2.817 GB, free: 35.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.47e-05/5.929, allocations: 71.22 kB / 2.817 GB, free: 35.14 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.713e-05/5.929, allocations: 35.98 kB / 2.817 GB, free: 35.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/5.929, allocations: 0 / 2.817 GB, free: 35.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001637/5.929, allocations: 137.5 kB / 2.818 GB, free: 34.96 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/5.929, allocations: 11.94 kB / 2.818 GB, free: 34.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/5.929, allocations: 0 / 2.818 GB, free: 34.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/5.929, allocations: 4 kB / 2.818 GB, free: 34.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/5.929, allocations: 35.92 kB / 2.818 GB, free: 34.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/5.929, allocations: 4 kB / 2.818 GB, free: 34.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/5.929, allocations: 3.953 kB / 2.818 GB, free: 34.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.154e-05/5.93, allocations: 8 kB / 2.818 GB, free: 34.89 MB / 0.6355 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.868e-05/5.93, allocations: 112.9 kB / 2.818 GB, free: 34.78 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001315/5.93, allocations: 109.6 kB / 2.818 GB, free: 34.66 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.37e-05/5.93, allocations: 8 kB / 2.818 GB, free: 34.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/5.93, allocations: 12.53 kB / 2.818 GB, free: 34.65 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/5.93, allocations: 4 kB / 2.818 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/5.93, allocations: 0 / 2.818 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/5.93, allocations: 0 / 2.818 GB, free: 34.64 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001099/5.93, allocations: 170.1 kB / 2.818 GB, free: 34.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/5.93, allocations: 0 / 2.818 GB, free: 34.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/5.93, allocations: 39.92 kB / 2.818 GB, free: 34.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/5.93, allocations: 4 kB / 2.818 GB, free: 34.4 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.097e-05/5.93, allocations: 0 / 2.818 GB, free: 34.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/5.93, allocations: 0 / 2.818 GB, free: 34.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/5.93, allocations: 4 kB / 2.818 GB, free: 34.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002347/5.93, allocations: 196.8 kB / 2.818 GB, free: 34.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.712e-05/5.93, allocations: 93 kB / 2.818 GB, free: 34.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/5.931, allocations: 0 / 2.818 GB, free: 34.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/5.931, allocations: 7.938 kB / 2.818 GB, free: 34.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.667e-05/5.931, allocations: 11.98 kB / 2.818 GB, free: 34.05 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/5.931, allocations: 12.05 kB / 2.818 GB, free: 34.04 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.734e-05/5.931, allocations: 75.28 kB / 2.818 GB, free: 33.97 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/5.931, allocations: 0 / 2.818 GB, free: 33.97 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002828/5.931, allocations: 51.98 kB / 2.818 GB, free: 33.92 MB / 0.6355 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.001076/5.932, allocations: 1.272 MB / 2.82 GB, free: 32.62 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001787/5.932, allocations: 91.92 kB / 2.82 GB, free: 32.53 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/5.932, allocations: 0 / 2.82 GB, free: 32.53 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.215e-05/5.932, allocations: 51.88 kB / 2.82 GB, free: 32.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002022/5.933, allocations: 4 kB / 2.82 GB, free: 32.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008844/5.933, allocations: 0.4986 MB / 2.82 GB, free: 31.94 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/5.934, allocations: 0.7047 MB / 2.821 GB, free: 31.21 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001267/5.934, allocations: 24.75 kB / 2.821 GB, free: 31.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.164e-05/5.934, allocations: 23.44 kB / 2.821 GB, free: 31.16 MB / 0.6355 GB Notification: Performance of SimCode: time 2.5e-07/5.934, allocations: 0 / 2.821 GB, free: 31.16 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0264/5.96, allocations: 6.19 MB / 2.827 GB, free: 24.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/5.96, allocations: 136.4 kB / 2.827 GB, free: 24.79 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/7.68, allocations: 0 / 2.827 GB, free: 24.79 MB / 0.6355 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/linux/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)