Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.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.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 104.6 kB / 16.27 MB, free: 6.023 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.001715/0.001715, allocations: 190.4 kB / 17.2 MB, free: 5.652 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.323/1.323, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7676/0.7676, allocations: 122.9 MB / 413.9 MB, free: 15.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001419, allocations: 63.91 kB / 0.4911 GB, free: 7.402 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3841/0.3855, allocations: 77.92 MB / 0.5672 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5769/0.9624, allocations: 193.8 MB / 0.7564 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008578/0.9711, allocations: 5.148 MB / 0.7615 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001543/0.9726, allocations: 47.55 kB / 0.7615 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002051/0.9747, allocations: 0.8138 MB / 0.7623 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007082/0.9818, allocations: 2.601 MB / 0.7648 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003298/0.9852, allocations: 1.11 MB / 0.7659 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004613/0.9898, allocations: 2.671 MB / 0.7685 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002026/0.9918, allocations: 0.9434 MB / 0.7695 GB, free: 1.516 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003349/0.9952, allocations: 1.101 MB / 0.7705 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002499/0.9977, allocations: 0.9886 MB / 0.7715 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005588/0.9983, allocations: 88.06 kB / 0.7716 GB, free: 1.512 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00497/1.003, allocations: 1.785 MB / 0.7733 GB, free: 1.496 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008667/1.004, allocations: 459.3 kB / 0.7738 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001915/1.006, allocations: 0.6677 MB / 0.7744 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004987/1.011, allocations: 2.182 MB / 0.7765 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/1.011, allocations: 0 / 0.7765 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.643e-06/1.011, allocations: 2.625 kB / 0.7765 GB, free: 1.332 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.916e-05/1.011, allocations: 0 / 0.7765 GB, free: 1.332 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005887/1.017, allocations: 1.952 MB / 0.7785 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/1.017, allocations: 12.47 kB / 0.7785 GB, free: 16.38 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005838/1.023, allocations: 0.8984 MB / 0.7793 GB, free: 16.3 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001787/1.025, allocations: 0.9034 MB / 0.7802 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.583e-05/1.025, allocations: 67.31 kB / 0.7803 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003031/1.025, allocations: 93.91 kB / 0.7804 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004278/1.03, allocations: 1.58 MB / 0.7819 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.422e-05/1.03, allocations: 4.219 kB / 0.7819 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001576/1.03, allocations: 35.73 kB / 0.782 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.21e-05/1.03, allocations: 47.03 kB / 0.782 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005599/1.035, allocations: 1.854 MB / 0.7838 GB, free: 15.78 MB / 0.5919 GB 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.009396/1.045, allocations: 4.757 MB / 0.7885 GB, free: 13.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004718/1.05, allocations: 1.561 MB / 0.79 GB, free: 13.87 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002405/1.052, allocations: 0.8536 MB / 0.7908 GB, free: 13.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/1.053, allocations: 0.9377 MB / 0.7917 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002699/1.056, allocations: 0.9135 MB / 0.7926 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 7.694e-06/1.056, allocations: 3.984 kB / 0.7926 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.008284/1.065, allocations: 2.456 MB / 0.795 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/1.065, allocations: 64.78 kB / 0.7951 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001818/1.066, allocations: 1.198 MB / 0.7963 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001702/1.067, allocations: 48.17 kB / 0.7963 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005006/1.067, allocations: 0.5425 MB / 0.7968 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004013/1.068, allocations: 326.9 kB / 0.7971 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004246/1.068, allocations: 184.3 kB / 0.7973 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001523/1.068, allocations: 350.9 kB / 0.7977 GB, free: 11.72 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00232/1.07, allocations: 0.6953 MB / 0.7983 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/1.073, allocations: 0.9133 MB / 0.7992 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004575/1.078, allocations: 1.55 MB / 0.8007 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.304e-05/1.078, allocations: 3.219 kB / 0.8007 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005887/1.083, allocations: 1.778 MB / 0.8025 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/1.084, allocations: 7.75 kB / 0.8025 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/1.084, allocations: 3.75 kB / 0.8025 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.489e-05/1.084, allocations: 9.062 kB / 0.8025 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001919/1.086, allocations: 351.9 kB / 0.8028 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.01e-05/1.086, allocations: 11.08 kB / 0.8028 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002048/1.088, allocations: 237.8 kB / 0.8031 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/1.088, allocations: 43.64 kB / 0.8031 GB, free: 11.04 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * 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.00075/1.089, allocations: 333.2 kB / 0.8034 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004767/1.089, allocations: 133.6 kB / 0.8036 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005555/1.095, allocations: 1.813 MB / 0.8053 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.313e-05/1.095, allocations: 11.16 kB / 0.8053 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/1.095, allocations: 0 / 0.8053 GB, free: 10.33 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/1.095, allocations: 7.969 kB / 0.8053 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008735/1.103, allocations: 3.331 MB / 0.8086 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/1.103, allocations: 4.688 kB / 0.8086 GB, free: 9.059 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001754/1.105, allocations: 294.9 kB / 0.8089 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.03e-05/1.105, allocations: 7.844 kB / 0.8089 GB, free: 8.98 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001179/1.105, allocations: 35.34 kB / 0.8089 GB, free: 8.969 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.47e-05/1.105, allocations: 12.39 kB / 0.8089 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.321e-06/1.105, allocations: 9.188 kB / 0.8089 GB, free: 8.961 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007777/1.113, allocations: 2.841 MB / 0.8117 GB, free: 8.035 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008677/1.114, allocations: 321.2 kB / 0.812 GB, free: 7.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004485/1.115, allocations: 26.31 kB / 0.8121 GB, free: 7.816 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001714/1.116, allocations: 158.4 kB / 0.8122 GB, free: 7.758 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001814/1.117, allocations: 66.98 kB / 0.8123 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.117, allocations: 46.22 kB / 0.8123 GB, free: 7.723 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001382/1.118, allocations: 0.8313 MB / 0.8131 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.118, allocations: 0 / 0.8131 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001469/1.12, allocations: 341 kB / 0.8135 GB, free: 7.461 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001417/1.121, allocations: 0.534 MB / 0.814 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005834/1.127, allocations: 1.779 MB / 0.8157 GB, free: 6.789 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.368e-05/1.127, allocations: 4.25 kB / 0.8157 GB, free: 6.785 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002787/1.13, allocations: 0.8309 MB / 0.8165 GB, free: 6.152 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004401/1.134, allocations: 0.6251 MB / 0.8171 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007908/1.142, allocations: 2.999 MB / 0.8201 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/1.143, allocations: 1.185 MB / 0.8212 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.002085/1.145, allocations: 358 kB / 0.8216 GB, free: 1.316 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005784/1.146, allocations: 125.6 kB / 0.8217 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of SimCode: time 6.31e-07/1.146, allocations: 0 / 0.8217 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of Templates: time 0.04799/1.194, allocations: 23.77 MB / 0.8449 GB, free: 9.828 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)