Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") translateModel(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001183/0.001183, allocations: 180.2 kB / 16.08 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.457/0.457, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 225.7 MB / 353.2 MB, free: 1.102 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007712/0.0007712, allocations: 88.44 kB / 425.4 MB, free: 6.664 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003357/0.000336, allocations: 8 kB / 0.4955 GB, free: 4.555 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.289, allocations: 71.34 MB / 0.5652 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger): time 0.02892/0.3179, allocations: 41.19 MB / 0.6054 GB, free: 476 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01538/0.3333, allocations: 14.41 MB / 0.6195 GB, free: 0.9727 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001746/0.3351, allocations: 51.62 kB / 0.6195 GB, free: 0.9219 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001772/0.3369, allocations: 0.5205 MB / 0.62 GB, free: 408 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004669/0.3416, allocations: 1.731 MB / 0.6217 GB, free: 14.66 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002751/0.3444, allocations: 1.08 MB / 0.6228 GB, free: 13.58 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.00469/0.3491, allocations: 4.498 MB / 0.6272 GB, free: 9.07 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001395/0.3505, allocations: 0.8539 MB / 0.628 GB, free: 8.199 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002073/0.3526, allocations: 1.038 MB / 0.629 GB, free: 7.156 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.354, allocations: 0.867 MB / 0.6299 GB, free: 6.285 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.3542, allocations: 36 kB / 0.6299 GB, free: 6.25 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002067/0.3563, allocations: 0.7326 MB / 0.6306 GB, free: 5.516 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003629/0.3567, allocations: 199 kB / 0.6308 GB, free: 5.32 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001013/0.3577, allocations: 0.5769 MB / 0.6314 GB, free: 4.734 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002981/0.3607, allocations: 1.836 MB / 0.6332 GB, free: 2.895 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/0.3607, allocations: 0 / 0.6332 GB, free: 2.895 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3607, allocations: 0 / 0.6332 GB, free: 2.895 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.701e-05/0.3608, allocations: 0 / 0.6332 GB, free: 2.895 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 174 * Number of variables: 174 Notification: Performance of Generate backend data structure: time 0.002313/0.3631, allocations: 1.297 MB / 0.6344 GB, free: 1.543 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.873e-05/0.3632, allocations: 11.97 kB / 0.6344 GB, free: 1.531 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004118/0.3636, allocations: 131.4 kB / 0.6346 GB, free: 1.402 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0019/0.3655, allocations: 1.072 MB / 0.6356 GB, free: 296 kB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.924e-05/0.3655, allocations: 54 kB / 0.6357 GB, free: 240 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.3657, allocations: 72 kB / 0.6357 GB, free: 168 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001578/0.3672, allocations: 0.8022 MB / 0.6365 GB, free: 15.33 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.823e-05/0.3673, allocations: 7.906 kB / 0.6365 GB, free: 15.32 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.529e-05/0.3674, allocations: 24 kB / 0.6366 GB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.667e-05/0.3674, allocations: 24 kB / 0.6366 GB, free: 15.27 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.3687, allocations: 0.5828 MB / 0.6371 GB, free: 14.69 MB / 458.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004649/0.3734, allocations: 3.551 MB / 0.6406 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005462/0.374, allocations: 266.4 kB / 0.6409 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003451/0.3743, allocations: 188.8 kB / 0.641 GB, free: 10.45 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000541/0.3749, allocations: 0.657 MB / 0.6417 GB, free: 9.645 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.3749, allocations: 42.56 kB / 0.6417 GB, free: 9.594 MB / 458.7 MB Notification: Performance of pre-optimization done (n=31): time 2.305e-06/0.3749, allocations: 0 / 0.6417 GB, free: 9.594 MB / 458.7 MB Notification: Performance of matching and sorting (n=31): time 0.001209/0.3761, allocations: 0.5442 MB / 0.6423 GB, free: 9.047 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.735e-05/0.3762, allocations: 59.33 kB / 0.6423 GB, free: 8.977 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.3775, allocations: 0.9176 MB / 0.6432 GB, free: 8.039 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.909e-05/0.3775, allocations: 37.7 kB / 0.6433 GB, free: 7.996 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000384/0.3779, allocations: 491.6 kB / 0.6437 GB, free: 7.508 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.378, allocations: 114.4 kB / 0.6438 GB, free: 7.395 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.26e-05/0.3781, allocations: 8 kB / 0.6438 GB, free: 7.387 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.3782, allocations: 333.9 kB / 0.6442 GB, free: 7.055 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003851/0.3786, allocations: 177 kB / 0.6443 GB, free: 6.883 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004786/0.3791, allocations: 354.9 kB / 0.6447 GB, free: 6.461 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008203/0.3799, allocations: 0.5266 MB / 0.6452 GB, free: 5.863 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.3799, allocations: 4 kB / 0.6452 GB, free: 5.859 MB / 458.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001153/0.3811, allocations: 0.6328 MB / 0.6458 GB, free: 5.219 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.912e-05/0.3811, allocations: 8 kB / 0.6458 GB, free: 5.211 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.3811, allocations: 4 kB / 0.6458 GB, free: 5.207 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.3811, allocations: 8.438 kB / 0.6458 GB, free: 5.199 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004394/0.3816, allocations: 139.7 kB / 0.646 GB, free: 5.062 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.52e-05/0.3816, allocations: 11.94 kB / 0.646 GB, free: 5.051 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007326/0.3824, allocations: 115.2 kB / 0.6461 GB, free: 4.938 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.214e-05/0.3824, allocations: 27.94 kB / 0.6461 GB, free: 4.91 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (65): * Single equations (assignments): 65 * 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.0004066/0.3828, allocations: 277.6 kB / 0.6464 GB, free: 4.629 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.383, allocations: 102.8 kB / 0.6465 GB, free: 4.527 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009931/0.384, allocations: 0.5002 MB / 0.6469 GB, free: 4.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.3841, allocations: 4 kB / 0.647 GB, free: 4.016 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.3841, allocations: 0 / 0.647 GB, free: 4.016 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007002/0.3848, allocations: 469.9 kB / 0.6474 GB, free: 3.527 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002151/0.3869, allocations: 1.377 MB / 0.6487 GB, free: 2.078 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.387, allocations: 0 / 0.6487 GB, free: 2.078 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.3873, allocations: 79.83 kB / 0.6488 GB, free: 2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.323e-06/0.3873, allocations: 7.984 kB / 0.6488 GB, free: 1.992 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.094e-05/0.3873, allocations: 12.05 kB / 0.6488 GB, free: 1.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/0.3874, allocations: 12.16 kB / 0.6489 GB, free: 1.969 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3874, allocations: 3.984 kB / 0.6489 GB, free: 1.965 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001236/0.3886, allocations: 0.7927 MB / 0.6496 GB, free: 1.145 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00038/0.389, allocations: 247.6 kB / 0.6499 GB, free: 0.8828 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.3892, allocations: 12 kB / 0.6499 GB, free: 0.8711 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005888/0.3898, allocations: 55.86 kB / 0.6499 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.439e-05/0.3898, allocations: 27.95 kB / 0.65 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.425e-05/0.3899, allocations: 23.98 kB / 0.65 GB, free: 0.7656 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008854/0.3908, allocations: 0.6352 MB / 0.6506 GB, free: 124 kB / 458.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3908, allocations: 0 / 0.6506 GB, free: 124 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009597/0.3918, allocations: 323.6 kB / 0.6509 GB, free: 15.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (fouPor.vol1.dynBal.U,fouPor.vol2.dynBal.U) * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007974/0.3926, allocations: 394.4 kB / 0.6513 GB, free: 15.42 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0009116/0.3935, allocations: 436.4 kB / 0.6517 GB, free: 15 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.3935, allocations: 448 / 0.6517 GB, free: 15 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003735/0.3939, allocations: 196.8 kB / 0.6519 GB, free: 14.8 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003173/0.3971, allocations: 0.611 MB / 0.6525 GB, free: 14.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003363/0.4005, allocations: 1.981 MB / 0.6544 GB, free: 12.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006994/0.4012, allocations: 1.032 MB / 0.6554 GB, free: 11.1 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0009001/0.4021, allocations: 196.4 kB / 0.6556 GB, free: 10.91 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001844/0.4023, allocations: 83.36 kB / 0.6557 GB, free: 10.82 MB / 474.7 MB Notification: Performance of SimCode: time 7.21e-07/0.4023, allocations: 0 / 0.6557 GB, free: 10.82 MB / 474.7 MB Notification: Performance of Templates: time 0.03306/0.4354, allocations: 20.29 MB / 0.6755 GB, free: 6.836 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.FourPortHeatMassExchanger.pipe 2>&1)