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: "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet",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.00162/0.00162, allocations: 105.6 kB / 16.4 MB, free: 6.449 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.002001/0.002001, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8047/0.8047, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 62.69 kB / 0.5572 GB, free: 32.36 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1696, allocations: 76.19 MB / 0.6316 GB, free: 4.863 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6236/0.7932, allocations: 193.8 MB / 0.8209 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01098/0.8042, allocations: 5.153 MB / 0.8259 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002371/0.8067, allocations: 47.03 kB / 0.8259 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002647/0.8094, allocations: 0.8102 MB / 0.8267 GB, free: 6.887 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008014/0.8174, allocations: 2.592 MB / 0.8293 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003425/0.8209, allocations: 1.118 MB / 0.8304 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004332/0.8252, allocations: 2.68 MB / 0.833 GB, free: 3.18 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001795/0.8271, allocations: 0.9433 MB / 0.8339 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002504/0.8296, allocations: 1.139 MB / 0.835 GB, free: 2.023 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001668/0.8313, allocations: 0.9904 MB / 0.836 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002171/0.8315, allocations: 88 kB / 0.8361 GB, free: 1.539 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003901/0.8354, allocations: 1.784 MB / 0.8378 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006365/0.8361, allocations: 451.3 kB / 0.8382 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.00104/0.8372, allocations: 0.6685 MB / 0.8389 GB, free: 64 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004664/0.8418, allocations: 2.213 MB / 0.841 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.8419, allocations: 0 / 0.841 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8419, allocations: 0 / 0.841 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.842e-05/0.8419, allocations: 0 / 0.841 GB, free: 14.82 MB / 0.6075 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.005612/0.8476, allocations: 1.962 MB / 0.843 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.8476, allocations: 10.31 kB / 0.843 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002037/0.8478, allocations: 137.6 kB / 0.8431 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005859/0.8537, allocations: 0.8923 MB / 0.844 GB, free: 12.87 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002503/0.8562, allocations: 0.9725 MB / 0.8449 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.94e-05/0.8563, allocations: 67.88 kB / 0.845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002265/0.8566, allocations: 96.45 kB / 0.8451 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004206/0.8608, allocations: 1.582 MB / 0.8466 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.142e-05/0.8608, allocations: 2.906 kB / 0.8466 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/0.861, allocations: 35.09 kB / 0.8467 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.018e-05/0.8611, allocations: 53.02 kB / 0.8467 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00578/0.8669, allocations: 1.85 MB / 0.8485 GB, free: 9.25 MB / 0.6075 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.01057/0.8775, allocations: 4.717 MB / 0.8531 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005052/0.8825, allocations: 1.568 MB / 0.8547 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002524/0.8851, allocations: 0.8471 MB / 0.8555 GB, free: 1.938 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001441/0.8866, allocations: 0.9442 MB / 0.8564 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002892/0.8895, allocations: 0.9211 MB / 0.8573 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 4.729e-06/0.8895, allocations: 0 / 0.8573 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.008701/0.8982, allocations: 2.453 MB / 0.8597 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.216e-05/0.8983, allocations: 60.41 kB / 0.8598 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002076/0.9004, allocations: 1.201 MB / 0.8609 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001809/0.9006, allocations: 45.7 kB / 0.861 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005955/0.9012, allocations: 0.5475 MB / 0.8615 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004056/0.9016, allocations: 327.2 kB / 0.8618 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004093/0.9021, allocations: 182.6 kB / 0.862 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.9022, allocations: 345.9 kB / 0.8623 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00237/0.9046, allocations: 0.6953 MB / 0.863 GB, free: 10.01 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002617/0.9073, allocations: 0.91 MB / 0.8639 GB, free: 9.035 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004818/0.9121, allocations: 1.555 MB / 0.8654 GB, free: 7.426 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.23e-05/0.9121, allocations: 9 kB / 0.8654 GB, free: 7.418 MB / 0.6231 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005744/0.9179, allocations: 1.773 MB / 0.8672 GB, free: 5.645 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 4.356e-05/0.918, allocations: 16.05 kB / 0.8672 GB, free: 5.629 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/0.918, allocations: 4 kB / 0.8672 GB, free: 5.625 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.049e-05/0.918, allocations: 8 kB / 0.8672 GB, free: 5.617 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.92, allocations: 335.5 kB / 0.8675 GB, free: 5.289 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.662e-05/0.9201, allocations: 12.03 kB / 0.8675 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002356/0.9225, allocations: 248.7 kB / 0.8678 GB, free: 5.035 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/0.9227, allocations: 47.97 kB / 0.8678 GB, free: 4.988 MB / 0.6231 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.001177/0.9239, allocations: 335.6 kB / 0.8681 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006388/0.9246, allocations: 130.4 kB / 0.8682 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006003/0.9306, allocations: 1.809 MB / 0.87 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.439e-05/0.9306, allocations: 15.98 kB / 0.87 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.9307, allocations: 4 kB / 0.87 GB, free: 2.691 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.9307, allocations: 3.984 kB / 0.87 GB, free: 2.688 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008884/0.9396, allocations: 3.334 MB / 0.8733 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.879e-05/0.9396, allocations: 4 kB / 0.8733 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00174/0.9414, allocations: 283.7 kB / 0.8736 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.894e-05/0.9414, allocations: 8 kB / 0.8736 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/0.9416, allocations: 31.97 kB / 0.8736 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-05/0.9416, allocations: 15.92 kB / 0.8736 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.583e-06/0.9416, allocations: 4 kB / 0.8736 GB, free: 14.94 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008145/0.9498, allocations: 2.85 MB / 0.8764 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009426/0.9507, allocations: 319.2 kB / 0.8767 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003557/0.9511, allocations: 24 kB / 0.8767 GB, free: 11.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001713/0.9528, allocations: 159 kB / 0.8769 GB, free: 11.53 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.953, allocations: 72.52 kB / 0.8769 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/0.9532, allocations: 35.97 kB / 0.877 GB, free: 11.42 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.00162/0.9548, allocations: 0.8392 MB / 0.8778 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.61e-07/0.9548, allocations: 0 / 0.8778 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001721/0.9565, allocations: 339.6 kB / 0.8781 GB, free: 10.25 MB / 0.6387 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.0102/0.9667, allocations: 3.833 MB / 0.8819 GB, free: 6.523 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00546/0.9723, allocations: 1.632 MB / 0.8835 GB, free: 4.898 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 9.739e-06/0.9723, allocations: 4 kB / 0.8835 GB, free: 4.895 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002657/0.975, allocations: 0.8387 MB / 0.8843 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003652/0.9786, allocations: 0.6117 MB / 0.8849 GB, free: 3.457 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02951/1.008, allocations: 12.04 MB / 0.8966 GB, free: 7.105 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001102/1.009, allocations: 1.179 MB / 0.8978 GB, free: 5.898 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001736/1.011, allocations: 362 kB / 0.8981 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/1.012, allocations: 0.4993 MB / 0.8986 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of SimCode: time 4.409e-06/1.012, allocations: 0 / 0.8986 GB, free: 5.043 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09092/1.103, allocations: 36.28 MB / 0.934 GB, free: 1.113 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/12.27, allocations: 11.86 kB / 0.9341 GB, free: 1.102 MB / 0.6856 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)