Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.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: translateModel(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") translateModel(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2") 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: 109.7 kB / 17.03 MB, free: 5.801 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001084/0.001085, allocations: 196 kB / 17.98 MB, free: 5.031 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.292/1.292, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6937/0.6937, allocations: 115.1 MB / 406.9 MB, free: 6.359 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.84 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3766, allocations: 76.14 MB / 0.5576 GB, free: 36.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2): time 0.1784/0.5551, allocations: 174 MB / 0.7275 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009976/0.5651, allocations: 9.515 MB / 0.7368 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004536/0.5656, allocations: 11.94 kB / 0.7368 GB, free: 12.39 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/Fluid/FMI/Source_T.mo:50:3-51:70:writable] Warning: Connector X_w_in_internal is not balanced: The number of potential variables (1) is not equal to the number of flow variables (0). Notification: Performance of NFTyping.typeComponents: time 0.0007324/0.5664, allocations: 197.5 kB / 0.737 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002728/0.5667, allocations: 87.31 kB / 0.7371 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.5669, allocations: 63.92 kB / 0.7372 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0003928/0.5673, allocations: 326.7 kB / 0.7375 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003667/0.5677, allocations: 212.9 kB / 0.7377 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003485/0.568, allocations: 163.4 kB / 0.7378 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.5682, allocations: 131.3 kB / 0.738 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.208e-05/0.5682, allocations: 20 kB / 0.738 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 3.509e-05/0.5682, allocations: 24 kB / 0.738 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.032e-05/0.5683, allocations: 67.83 kB / 0.7381 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.5685, allocations: 131.3 kB / 0.7382 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002989/0.5688, allocations: 294.6 kB / 0.7385 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.5688, allocations: 4 kB / 0.7385 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.234e-06/0.5688, allocations: 0 / 0.7385 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.5688, allocations: 0 / 0.7385 GB, free: 10.7 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0005263/0.5694, allocations: 0.5107 MB / 0.739 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.5694, allocations: 8.031 kB / 0.739 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.965e-05/0.5695, allocations: 39.55 kB / 0.739 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000439/0.5699, allocations: 275.9 kB / 0.7393 GB, free: 9.789 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.222e-05/0.5699, allocations: 20.56 kB / 0.7393 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.57, allocations: 24 kB / 0.7393 GB, free: 9.742 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004919/0.5705, allocations: 323.9 kB / 0.7396 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.5705, allocations: 0 / 0.7396 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.116e-05/0.5705, allocations: 12 kB / 0.7397 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.5705, allocations: 8 kB / 0.7397 GB, free: 9.363 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002092/0.5707, allocations: 147.7 kB / 0.7398 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.572, allocations: 1.816 MB / 0.7416 GB, free: 7.305 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.711e-05/0.5721, allocations: 169.1 kB / 0.7417 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.248e-05/0.5722, allocations: 80.14 kB / 0.7418 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.411e-05/0.5722, allocations: 87.23 kB / 0.7419 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.44e-05/0.5723, allocations: 113.8 kB / 0.742 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.5723, allocations: 0 / 0.742 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of matching and sorting (n=0): time 9.92e-05/0.5724, allocations: 53.42 kB / 0.7421 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.267e-05/0.5724, allocations: 130.6 kB / 0.7422 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.5728, allocations: 373.7 kB / 0.7425 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.399e-05/0.5729, allocations: 25.81 kB / 0.7426 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.573, allocations: 175.7 kB / 0.7427 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-06/0.573, allocations: 0 / 0.7427 GB, free: 6.059 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.032e-05/0.573, allocations: 17.72 kB / 0.7427 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.5732, allocations: 338.8 kB / 0.7431 GB, free: 5.695 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.5732, allocations: 4 kB / 0.7431 GB, free: 5.691 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.039e-05/0.5732, allocations: 36.28 kB / 0.7431 GB, free: 5.641 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.111e-05/0.5733, allocations: 44.23 kB / 0.7431 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5733, allocations: 0 / 0.7431 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001517/0.5735, allocations: 97.25 kB / 0.7432 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.461e-05/0.5735, allocations: 12.03 kB / 0.7433 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.5735, allocations: 0 / 0.7433 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.5735, allocations: 0 / 0.7433 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.519e-05/0.5736, allocations: 11.98 kB / 0.7433 GB, free: 5.457 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.5736, allocations: 4 kB / 0.7433 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.427e-05/0.5737, allocations: 19.69 kB / 0.7433 GB, free: 5.434 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.5737, allocations: 4 kB / 0.7433 GB, free: 5.43 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000145/0.5738, allocations: 213 kB / 0.7435 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.574, allocations: 140.5 kB / 0.7436 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.88e-05/0.574, allocations: 127 kB / 0.7437 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.524e-05/0.5741, allocations: 180.2 kB / 0.7439 GB, free: 4.746 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.993e-05/0.5742, allocations: 180.4 kB / 0.7441 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.385e-05/0.5743, allocations: 184.2 kB / 0.7443 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000302/0.5746, allocations: 493.1 kB / 0.7447 GB, free: 3.836 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.155e-05/0.5746, allocations: 112.9 kB / 0.7448 GB, free: 3.719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.96e-05/0.5747, allocations: 104.9 kB / 0.7449 GB, free: 3.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.634e-05/0.5747, allocations: 176.3 kB / 0.7451 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.599e-05/0.5748, allocations: 184.2 kB / 0.7453 GB, free: 3.242 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-05/0.5749, allocations: 180.3 kB / 0.7455 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.166e-05/0.5749, allocations: 188.2 kB / 0.7456 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.5751, allocations: 323.5 kB / 0.746 GB, free: 2.527 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001255/0.5752, allocations: 217.6 kB / 0.7462 GB, free: 2.289 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.702e-05/0.5753, allocations: 180.2 kB / 0.7463 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.5754, allocations: 108.9 kB / 0.7464 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.806e-05/0.5755, allocations: 180.6 kB / 0.7466 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.5755, allocations: 105 kB / 0.7467 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002641/0.5758, allocations: 267.2 kB / 0.747 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5758, allocations: 7.875 kB / 0.747 GB, free: 1.438 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002407/0.5761, allocations: 31.94 kB / 0.747 GB, free: 1.406 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001251/0.5762, allocations: 178.5 kB / 0.7472 GB, free: 1.223 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 7.662e-05/0.5763, allocations: 20.03 kB / 0.7472 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5763, allocations: 0 / 0.7472 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.006e-06/0.5763, allocations: 3.938 kB / 0.7472 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007716/0.5771, allocations: 0.552 MB / 0.7477 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006361/0.5777, allocations: 441.3 kB / 0.7482 GB, free: 196 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.234/0.8117, allocations: 0.7469 MB / 0.7489 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001573/0.8119, allocations: 32.38 kB / 0.7489 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.389e-05/0.812, allocations: 19.34 kB / 0.7489 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of SimCode: time 8.21e-07/0.812, allocations: 0.6562 kB / 0.7489 GB, free: 177.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.007649/0.8197, allocations: 3.153 MB / 0.752 GB, free: 177.9 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.sim & ./IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2 -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FMI.Conversion.Validation.InletToAirMoistAirCO2.pipe 2>&1)