Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.AirDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001326/0.001326, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6216/0.6216, allocations: 90.91 MB / 99.34 MB, free: 2.145 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.582/1.582, allocations: 221.5 MB / 343.2 MB, free: 1.59 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 105.7 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.517e-05/1.511e-05, allocations: 3.516 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1322, allocations: 72.3 MB / 0.5536 GB, free: 12.18 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.112/4.244, allocations: 1.697 GB / 2.251 GB, free: 233 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/4.244, allocations: 70.94 kB / 2.251 GB, free: 233 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.06425/4.309, allocations: 29.18 MB / 2.279 GB, free: 224 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.485e-06/4.309, allocations: 0 / 2.279 GB, free: 224 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 9.037e-06/4.309, allocations: 0 / 2.279 GB, free: 224 MB / 0.6042 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.0004594/4.309, allocations: 377.5 kB / 2.28 GB, free: 223.6 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.688e-05/4.309, allocations: 11.62 kB / 2.28 GB, free: 223.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003728/4.31, allocations: 35.27 kB / 2.28 GB, free: 223.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/4.31, allocations: 170.7 kB / 2.28 GB, free: 223.4 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/4.31, allocations: 0 / 2.28 GB, free: 223.4 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/4.31, allocations: 7.75 kB / 2.28 GB, free: 223.3 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001204/4.31, allocations: 43.23 kB / 2.28 GB, free: 223.3 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/4.31, allocations: 64.8 kB / 2.28 GB, free: 223.3 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/4.31, allocations: 3.938 kB / 2.28 GB, free: 223.3 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.522e-05/4.31, allocations: 0 / 2.28 GB, free: 223.3 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/4.31, allocations: 0 / 2.28 GB, free: 223.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001708/4.31, allocations: 153.9 kB / 2.28 GB, free: 223.1 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/4.311, allocations: 81.73 kB / 2.28 GB, free: 223.1 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.206e-05/4.311, allocations: 24.42 kB / 2.28 GB, free: 223 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/4.311, allocations: 182.4 kB / 2.28 GB, free: 222.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/4.311, allocations: 30.56 kB / 2.28 GB, free: 222.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/4.311, allocations: 4 kB / 2.28 GB, free: 222.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=19): time 0.001096/4.312, allocations: 492 kB / 2.281 GB, free: 222.3 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.12e-05/4.312, allocations: 55.34 kB / 2.281 GB, free: 222.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.649e-05/4.312, allocations: 101 kB / 2.281 GB, free: 222.1 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/4.312, allocations: 25.7 kB / 2.281 GB, free: 222.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.231e-05/4.312, allocations: 80.52 kB / 2.281 GB, free: 222 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.414e-05/4.312, allocations: 63.02 kB / 2.281 GB, free: 221.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-06/4.312, allocations: 0 / 2.281 GB, free: 221.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.269e-05/4.312, allocations: 322.8 kB / 2.281 GB, free: 221.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/4.312, allocations: 24 kB / 2.281 GB, free: 221.6 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.995e-05/4.312, allocations: 63.55 kB / 2.282 GB, free: 221.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.885e-05/4.312, allocations: 43.97 kB / 2.282 GB, free: 221.4 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/4.312, allocations: 3.938 kB / 2.282 GB, free: 221.4 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001578/4.313, allocations: 141.4 kB / 2.282 GB, free: 221.3 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/4.313, allocations: 5.406 kB / 2.282 GB, free: 221.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/4.313, allocations: 4 kB / 2.282 GB, free: 221.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.631e-05/4.313, allocations: 128 / 2.282 GB, free: 221.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/4.313, allocations: 39.98 kB / 2.282 GB, free: 221.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/4.313, allocations: 3.953 kB / 2.282 GB, free: 221.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.264e-05/4.313, allocations: 8 kB / 2.282 GB, free: 221.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/4.313, allocations: 4 kB / 2.282 GB, free: 221.2 MB / 0.6042 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.176e-05/4.313, allocations: 108.9 kB / 2.282 GB, free: 221.1 MB / 0.6042 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001625/4.313, allocations: 111.8 kB / 2.282 GB, free: 221 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/4.313, allocations: 15.84 kB / 2.282 GB, free: 221 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.679e-05/4.313, allocations: 16.52 kB / 2.282 GB, free: 221 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/4.313, allocations: 0 / 2.282 GB, free: 221 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/4.313, allocations: 3.984 kB / 2.282 GB, free: 221 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.012e-06/4.313, allocations: 7.953 kB / 2.282 GB, free: 221 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/4.313, allocations: 158.2 kB / 2.282 GB, free: 220.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/4.313, allocations: 7.984 kB / 2.282 GB, free: 220.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001846/4.313, allocations: 35.98 kB / 2.282 GB, free: 220.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/4.314, allocations: 0 / 2.282 GB, free: 220.7 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/4.314, allocations: 4 kB / 2.282 GB, free: 220.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/4.314, allocations: 0 / 2.282 GB, free: 220.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/4.314, allocations: 0 / 2.282 GB, free: 220.7 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/4.314, allocations: 194 kB / 2.282 GB, free: 220.5 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.659e-05/4.314, allocations: 93 kB / 2.283 GB, free: 220.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/4.314, allocations: 4 kB / 2.283 GB, free: 220.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001148/4.314, allocations: 7.938 kB / 2.283 GB, free: 220.4 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.526e-05/4.314, allocations: 7.984 kB / 2.283 GB, free: 220.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.082e-05/4.314, allocations: 8.062 kB / 2.283 GB, free: 220.4 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.839e-05/4.314, allocations: 79.28 kB / 2.283 GB, free: 220.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/4.314, allocations: 0 / 2.283 GB, free: 220.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003044/4.314, allocations: 47.98 kB / 2.283 GB, free: 220.3 MB / 0.6042 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.0009777/4.315, allocations: 1.264 MB / 2.284 GB, free: 219 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001478/4.316, allocations: 95.88 kB / 2.284 GB, free: 218.9 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/4.316, allocations: 0 / 2.284 GB, free: 218.9 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.796e-05/4.316, allocations: 43.94 kB / 2.284 GB, free: 218.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001653/4.316, allocations: 11.92 kB / 2.284 GB, free: 218.8 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007366/4.317, allocations: 0.491 MB / 2.285 GB, free: 218.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001793/4.317, allocations: 0.7047 MB / 2.285 GB, free: 217.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000123/4.317, allocations: 20.77 kB / 2.285 GB, free: 217.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.699e-05/4.317, allocations: 27.42 kB / 2.285 GB, free: 217.5 MB / 0.6042 GB Notification: Performance of SimCode: time 2.61e-07/4.317, allocations: 0 / 2.285 GB, free: 217.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02447/4.341, allocations: 6.169 MB / 2.291 GB, free: 211.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001455/4.342, allocations: 131.1 kB / 2.291 GB, free: 211.1 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/6.088, allocations: 3.969 kB / 2.291 GB, free: 211.1 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IBPSA_latest_IBPSA_Media_Examples_AirDerivativeCheck.fmu > IBPSA_latest_IBPSA.Media.Examples.AirDerivativeCheck.pipe 2>&1)