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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0006861/0.0006861, allocations: 92.7 kB / 15.7 MB, free: 472 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007274/0.0007274, allocations: 171.5 kB / 16.58 MB, free: 6.852 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.179/1.179, allocations: 223.3 MB / 240.6 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6104/0.6104, allocations: 113.7 MB / 405.4 MB, free: 4.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002559/0.0002559, allocations: 8 kB / 493.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1136/0.1139, allocations: 77.12 MB / 0.5569 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.AirDerivativeCheck): time 0.00102/0.1149, allocations: 1.039 MB / 0.5579 GB, free: 10.64 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.3501/0.4651, allocations: 134.5 MB / 0.6892 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.904e-05/0.4652, allocations: 0 / 0.6892 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.963e-05/0.4652, allocations: 7.922 kB / 0.6892 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.571e-05/0.4653, allocations: 19.91 kB / 0.6892 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005927/0.4659, allocations: 216.9 kB / 0.6894 GB, free: 3.199 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.34e-05/0.466, allocations: 75.73 kB / 0.6895 GB, free: 3.125 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 2.9e-05/0.466, allocations: 4 kB / 0.6895 GB, free: 3.121 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.818e-05/0.4661, allocations: 31.91 kB / 0.6896 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.527e-05/0.4662, allocations: 35.89 kB / 0.6896 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.247e-05/0.4662, allocations: 4 kB / 0.6896 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005257/0.4667, allocations: 255.3 kB / 0.6898 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.928e-05/0.4668, allocations: 16.72 kB / 0.6898 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.917e-05/0.4668, allocations: 33.7 kB / 0.6899 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001569/0.467, allocations: 98.06 kB / 0.69 GB, free: 2.652 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.467, allocations: 4 kB / 0.69 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.615e-06/0.467, allocations: 0 / 0.69 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.155e-06/0.467, allocations: 3.938 kB / 0.69 GB, free: 2.645 MB / 0.4981 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.0003352/0.4673, allocations: 372 kB / 0.6903 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.4674, allocations: 12.03 kB / 0.6903 GB, free: 2.223 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.455e-05/0.4674, allocations: 42.5 kB / 0.6904 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003411/0.4678, allocations: 39.86 kB / 0.6904 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.05e-05/0.4678, allocations: 159.1 kB / 0.6906 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.228e-05/0.4679, allocations: 7.953 kB / 0.6906 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/0.4679, allocations: 11.91 kB / 0.6906 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.468, allocations: 77.64 kB / 0.6907 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.133e-06/0.4681, allocations: 0 / 0.6907 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.4681, allocations: 8 kB / 0.6907 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.648e-06/0.4681, allocations: 7.938 kB / 0.6907 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.937e-05/0.4682, allocations: 43.95 kB / 0.6907 GB, free: 1.777 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001634/0.4683, allocations: 177.6 kB / 0.6909 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.4685, allocations: 91.61 kB / 0.691 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.184e-05/0.4686, allocations: 36.8 kB / 0.691 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001995/0.4688, allocations: 190.1 kB / 0.6912 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.4688, allocations: 34.55 kB / 0.6912 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=12): time 2.575e-06/0.4688, allocations: 3.984 kB / 0.6912 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=19): time 0.001058/0.4699, allocations: 0.5365 MB / 0.6918 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.354e-05/0.4699, allocations: 55.41 kB / 0.6918 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.642e-05/0.47, allocations: 97.84 kB / 0.6919 GB, free: 400 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.71e-05/0.47, allocations: 29.7 kB / 0.6919 GB, free: 364 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.47, allocations: 84.52 kB / 0.692 GB, free: 276 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.752e-05/0.4701, allocations: 67 kB / 0.6921 GB, free: 208 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.901e-06/0.4701, allocations: 4 kB / 0.6921 GB, free: 204 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.073e-05/0.4702, allocations: 323 kB / 0.6924 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.405e-05/0.4702, allocations: 39.92 kB / 0.6924 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.747e-05/0.4703, allocations: 68.42 kB / 0.6925 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.941e-05/0.4704, allocations: 43.98 kB / 0.6925 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.4704, allocations: 0 / 0.6925 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001957/0.4706, allocations: 157.4 kB / 0.6927 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.4706, allocations: 4 kB / 0.6927 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.4706, allocations: 4 kB / 0.6927 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.4707, allocations: 4 kB / 0.6927 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.4708, allocations: 43.92 kB / 0.6927 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.4708, allocations: 0 / 0.6927 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.722e-05/0.4709, allocations: 8 kB / 0.6927 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.4709, allocations: 4 kB / 0.6928 GB, free: 15.49 MB / 0.5137 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 7.125e-05/0.471, allocations: 121.8 kB / 0.6929 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.471, allocations: 15.61 kB / 0.6929 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.267e-05/0.471, allocations: 20.44 kB / 0.6929 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4711, allocations: 4 kB / 0.6929 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.4711, allocations: 0 / 0.6929 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.4711, allocations: 3.984 kB / 0.6929 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.4712, allocations: 193.6 kB / 0.6931 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.4712, allocations: 3.938 kB / 0.6931 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001704/0.4714, allocations: 43.92 kB / 0.6931 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4714, allocations: 3.953 kB / 0.6931 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.4714, allocations: 4 kB / 0.6931 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.4714, allocations: 0 / 0.6931 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.4714, allocations: 0 / 0.6931 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.4717, allocations: 212.4 kB / 0.6934 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.4718, allocations: 89 kB / 0.6934 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.4718, allocations: 8.016 kB / 0.6934 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.853e-05/0.4719, allocations: 8 kB / 0.6935 GB, free: 14.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.175e-05/0.4719, allocations: 11.98 kB / 0.6935 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.4719, allocations: 4 kB / 0.6935 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.06e-05/0.472, allocations: 87.27 kB / 0.6936 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.472, allocations: 0 / 0.6936 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001999/0.4722, allocations: 28 kB / 0.6936 GB, free: 14.55 MB / 0.5137 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.0004612/0.4726, allocations: 0.7439 MB / 0.6943 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001692/0.4728, allocations: 111.9 kB / 0.6944 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.4728, allocations: 0 / 0.6944 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.363e-05/0.4729, allocations: 53.81 kB / 0.6945 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002051/0.4731, allocations: 15.98 kB / 0.6945 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001109/0.4742, allocations: 1.001 MB / 0.6955 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002011/0.4744, allocations: 0.7011 MB / 0.6961 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001195/0.4746, allocations: 24.58 kB / 0.6962 GB, free: 11.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.749e-05/0.4746, allocations: 23.44 kB / 0.6962 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.4746, allocations: 0 / 0.6962 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01086/0.4855, allocations: 2.118 MB / 0.6983 GB, free: 9.789 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001527/0.4857, allocations: 173.3 kB / 0.6984 GB, free: 9.547 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.442/1.928, allocations: 3.75 kB / 0.6984 GB, free: 9.547 MB / 0.5137 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) Environment - environmentSimulation: