Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001086/0.001086, allocations: 175.3 kB / 16.08 MB, free: 5.703 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.4352/0.4352, 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.247/1.247, allocations: 225.7 MB / 353.3 MB, free: 1.082 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.0007126/0.0007128, allocations: 99.38 kB / 425.4 MB, free: 6.66 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002794/0.0002794, allocations: 8 kB / 0.4955 GB, free: 4.547 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2695, allocations: 71.34 MB / 0.5652 GB, free: 42.37 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01834/0.2878, allocations: 28.92 MB / 0.5934 GB, free: 12.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008408/0.2963, allocations: 9.313 MB / 0.6025 GB, free: 2.973 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001354/0.2977, allocations: 43.69 kB / 0.6026 GB, free: 2.93 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00135/0.2991, allocations: 0.6105 MB / 0.6032 GB, free: 2.316 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002935/0.302, allocations: 1.334 MB / 0.6045 GB, free: 0.9766 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002333/0.3044, allocations: 1.08 MB / 0.6055 GB, free: 15.89 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.003379/0.3078, allocations: 3.245 MB / 0.6087 GB, free: 12.64 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001063/0.3088, allocations: 0.7247 MB / 0.6094 GB, free: 11.9 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001635/0.3105, allocations: 0.9606 MB / 0.6103 GB, free: 10.94 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009953/0.3115, allocations: 0.809 MB / 0.6111 GB, free: 10.12 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 9.552e-05/0.3116, allocations: 36 kB / 0.6112 GB, free: 10.09 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001715/0.3133, allocations: 0.7326 MB / 0.6119 GB, free: 9.355 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002581/0.3136, allocations: 239 kB / 0.6121 GB, free: 9.121 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005238/0.3141, allocations: 0.5492 MB / 0.6127 GB, free: 8.562 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.316, allocations: 1.571 MB / 0.6142 GB, free: 6.988 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.316, allocations: 7.922 kB / 0.6142 GB, free: 6.98 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.316, allocations: 0 / 0.6142 GB, free: 6.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.316, allocations: 0 / 0.6142 GB, free: 6.98 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.002218/0.3183, allocations: 1.376 MB / 0.6155 GB, free: 5.551 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.3183, allocations: 8.031 kB / 0.6155 GB, free: 5.543 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003086/0.3214, allocations: 0.6315 MB / 0.6162 GB, free: 4.91 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.3226, allocations: 0.8174 MB / 0.617 GB, free: 4.039 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.46e-05/0.3226, allocations: 58.38 kB / 0.617 GB, free: 3.98 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001251/0.3228, allocations: 75.94 kB / 0.6171 GB, free: 3.906 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002152/0.3249, allocations: 1.107 MB / 0.6182 GB, free: 2.723 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.765e-05/0.3249, allocations: 4 kB / 0.6182 GB, free: 2.719 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.97e-05/0.325, allocations: 35.94 kB / 0.6182 GB, free: 2.684 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.325, allocations: 20 kB / 0.6182 GB, free: 2.664 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/0.3277, allocations: 1.012 MB / 0.6192 GB, free: 1.652 MB / 426.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.005202/0.3329, allocations: 4.975 MB / 0.6241 GB, free: 12.38 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.3356, allocations: 0.9543 MB / 0.625 GB, free: 11.42 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.3369, allocations: 0.4942 MB / 0.6255 GB, free: 10.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001292/0.3382, allocations: 1.6 MB / 0.6271 GB, free: 8.973 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001451/0.3397, allocations: 0.5846 MB / 0.6276 GB, free: 8.375 MB / 442.7 MB Notification: Performance of pre-optimization done (n=61): time 2.555e-06/0.3397, allocations: 0 / 0.6276 GB, free: 8.375 MB / 442.7 MB Notification: Performance of matching and sorting (n=61): time 0.00417/0.3438, allocations: 1.516 MB / 0.6291 GB, free: 6.852 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.266e-05/0.3439, allocations: 63.95 kB / 0.6292 GB, free: 6.777 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.3451, allocations: 1.109 MB / 0.6302 GB, free: 5.656 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.521e-05/0.3452, allocations: 41.7 kB / 0.6303 GB, free: 5.609 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004192/0.3456, allocations: 0.5512 MB / 0.6308 GB, free: 5.051 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/0.3458, allocations: 213.1 kB / 0.631 GB, free: 4.84 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.3458, allocations: 16 kB / 0.631 GB, free: 4.824 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.346, allocations: 333.9 kB / 0.6314 GB, free: 4.492 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00126/0.3472, allocations: 461.6 kB / 0.6318 GB, free: 4.043 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.3487, allocations: 0.7397 MB / 0.6325 GB, free: 3.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002599/0.3513, allocations: 1.14 MB / 0.6336 GB, free: 1.934 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3513, allocations: 3.938 kB / 0.6336 GB, free: 1.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003151/0.3544, allocations: 1.293 MB / 0.6349 GB, free: 0.6289 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/0.3545, allocations: 8.938 kB / 0.6349 GB, free: 0.6211 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.175e-05/0.3545, allocations: 8 kB / 0.6349 GB, free: 0.6133 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.3545, allocations: 12 kB / 0.6349 GB, free: 0.6016 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001122/0.3557, allocations: 275.6 kB / 0.6352 GB, free: 340 kB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.561e-05/0.3557, allocations: 15.94 kB / 0.6352 GB, free: 324 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.3568, allocations: 214.9 kB / 0.6354 GB, free: 108 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001044/0.3569, allocations: 47.97 kB / 0.6355 GB, free: 60 kB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * 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.0004858/0.3574, allocations: 293.6 kB / 0.6357 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/0.3576, allocations: 122.4 kB / 0.6359 GB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003424/0.361, allocations: 1.386 MB / 0.6372 GB, free: 14.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.925e-05/0.361, allocations: 15.98 kB / 0.6372 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.3611, allocations: 0 / 0.6372 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.3611, allocations: 3.938 kB / 0.6372 GB, free: 14.23 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004505/0.3656, allocations: 2.398 MB / 0.6396 GB, free: 11.76 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/0.3656, allocations: 3.984 kB / 0.6396 GB, free: 11.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009469/0.3666, allocations: 188 kB / 0.6398 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.3666, allocations: 4 kB / 0.6398 GB, free: 11.57 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.229e-05/0.3666, allocations: 27.97 kB / 0.6398 GB, free: 11.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.206e-06/0.3667, allocations: 7.984 kB / 0.6398 GB, free: 11.53 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.532e-05/0.3667, allocations: 7.938 kB / 0.6398 GB, free: 11.52 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004436/0.3711, allocations: 2.004 MB / 0.6418 GB, free: 9.488 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004069/0.3715, allocations: 287.2 kB / 0.642 GB, free: 9.188 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/0.3717, allocations: 16 kB / 0.642 GB, free: 9.172 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008477/0.3726, allocations: 131.9 kB / 0.6422 GB, free: 9.043 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.3727, allocations: 52.38 kB / 0.6422 GB, free: 8.988 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.608e-05/0.3728, allocations: 35.97 kB / 0.6423 GB, free: 8.953 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009102/0.3737, allocations: 0.7603 MB / 0.643 GB, free: 8.188 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3737, allocations: 0 / 0.643 GB, free: 8.188 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009307/0.3746, allocations: 339.6 kB / 0.6433 GB, free: 7.855 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * 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.001372/0.376, allocations: 0.7327 MB / 0.644 GB, free: 7.262 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00296/0.379, allocations: 1.13 MB / 0.6451 GB, free: 6.133 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.379, allocations: 0 / 0.6451 GB, free: 6.133 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001432/0.3804, allocations: 0.5892 MB / 0.6457 GB, free: 5.547 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002056/0.3825, allocations: 442.5 kB / 0.6461 GB, free: 5.113 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00453/0.387, allocations: 2.814 MB / 0.6489 GB, free: 2.25 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006102/0.3877, allocations: 1.112 MB / 0.65 GB, free: 1.105 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0009812/0.3886, allocations: 256.7 kB / 0.6502 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002875/0.3889, allocations: 107.4 kB / 0.6503 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3889, allocations: 0 / 0.6503 GB, free: 0.7461 MB / 458.7 MB Notification: Performance of Templates: time 0.03041/0.4194, allocations: 19.41 MB / 0.6693 GB, free: 13.53 MB / 490.7 MB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)