Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.0012/0.0012, allocations: 105.5 kB / 16.27 MB, free: 6.352 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.001182/0.001182, allocations: 193.6 kB / 17.2 MB, free: 5.953 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.215/1.215, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7196/0.7196, allocations: 122.9 MB / 413.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 63.89 kB / 0.4912 GB, free: 7.336 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2993/0.3006, allocations: 77.93 MB / 0.5673 GB, free: 32.75 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.4414/0.742, allocations: 193.8 MB / 0.7565 GB, free: 1.828 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007318/0.7494, allocations: 5.15 MB / 0.7616 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007661/0.7502, allocations: 53.38 kB / 0.7616 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.7517, allocations: 0.8103 MB / 0.7624 GB, free: 1.738 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005707/0.7574, allocations: 2.599 MB / 0.7649 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002867/0.7603, allocations: 1.104 MB / 0.766 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002957/0.7633, allocations: 2.608 MB / 0.7686 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.7644, allocations: 0.8923 MB / 0.7694 GB, free: 1.547 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001539/0.7659, allocations: 1.079 MB / 0.7705 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009751/0.7669, allocations: 0.9515 MB / 0.7714 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001511/0.7671, allocations: 79.52 kB / 0.7715 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002934/0.77, allocations: 1.776 MB / 0.7732 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003897/0.7704, allocations: 435.6 kB / 0.7736 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007304/0.7712, allocations: 0.6487 MB / 0.7743 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002776/0.7739, allocations: 2.117 MB / 0.7763 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.774, allocations: 1 kB / 0.7763 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.312e-06/0.774, allocations: 2.469 kB / 0.7763 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.774, allocations: 0 / 0.7763 GB, free: 1.375 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.004126/0.7781, allocations: 1.923 MB / 0.7782 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.7782, allocations: 10.88 kB / 0.7782 GB, free: 16.43 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/0.7783, allocations: 142.7 kB / 0.7784 GB, free: 16.39 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003546/0.7819, allocations: 0.6589 MB / 0.779 GB, free: 16.32 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001104/0.783, allocations: 0.8735 MB / 0.7799 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.449e-05/0.783, allocations: 72.34 kB / 0.7799 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001311/0.7832, allocations: 88.19 kB / 0.78 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002689/0.7859, allocations: 1.473 MB / 0.7815 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.5e-05/0.7859, allocations: 5.656 kB / 0.7815 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001009/0.786, allocations: 41.03 kB / 0.7815 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.227e-05/0.7861, allocations: 50.91 kB / 0.7816 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003657/0.7897, allocations: 1.521 MB / 0.783 GB, free: 15.67 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.006394/0.7961, allocations: 5.498 MB / 0.7884 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003294/0.7994, allocations: 1.285 MB / 0.7897 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001495/0.8009, allocations: 0.656 MB / 0.7903 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007765/0.8017, allocations: 0.5825 MB / 0.7909 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001627/0.8034, allocations: 0.7027 MB / 0.7916 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 2.845e-06/0.8034, allocations: 1.031 kB / 0.7916 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.004937/0.8083, allocations: 1.878 MB / 0.7934 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.8084, allocations: 63.48 kB / 0.7935 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.8094, allocations: 1.235 MB / 0.7947 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.069e-05/0.8095, allocations: 48.17 kB / 0.7947 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003241/0.8098, allocations: 0.5763 MB / 0.7953 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001855/0.81, allocations: 281.4 kB / 0.7955 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002515/0.8103, allocations: 182.5 kB / 0.7957 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001058/0.8104, allocations: 352.5 kB / 0.796 GB, free: 10.95 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00146/0.8119, allocations: 0.5328 MB / 0.7966 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00161/0.8135, allocations: 0.8305 MB / 0.7974 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002923/0.8164, allocations: 1.321 MB / 0.7987 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.249e-06/0.8164, allocations: 9.5 kB / 0.7987 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003379/0.8198, allocations: 1.489 MB / 0.8001 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.8199, allocations: 13.97 kB / 0.8001 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.8199, allocations: 8.156 kB / 0.8002 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.8199, allocations: 12.84 kB / 0.8002 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.8212, allocations: 289.3 kB / 0.8004 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.682e-05/0.8212, allocations: 23.05 kB / 0.8005 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.8224, allocations: 200.4 kB / 0.8007 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.201e-05/0.8225, allocations: 47.34 kB / 0.8007 GB, free: 10.09 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0004324/0.823, allocations: 346.4 kB / 0.801 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.8231, allocations: 132.6 kB / 0.8012 GB, free: 9.898 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003437/0.8266, allocations: 1.41 MB / 0.8025 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.8266, allocations: 14.05 kB / 0.8025 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.8266, allocations: 0 / 0.8025 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/0.8266, allocations: 2.109 kB / 0.8025 GB, free: 9.793 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005242/0.8319, allocations: 2.806 MB / 0.8053 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.184e-06/0.8319, allocations: 5.156 kB / 0.8053 GB, free: 9.281 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001191/0.8331, allocations: 225.8 kB / 0.8055 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.017e-06/0.8331, allocations: 8.5 kB / 0.8055 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.801e-05/0.8332, allocations: 26.7 kB / 0.8055 GB, free: 9.219 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.666e-06/0.8332, allocations: 11.67 kB / 0.8056 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.8332, allocations: 6.5 kB / 0.8056 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005016/0.8382, allocations: 2.254 MB / 0.8078 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000456/0.8387, allocations: 290 kB / 0.808 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001768/0.8389, allocations: 26.27 kB / 0.8081 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001022/0.8399, allocations: 106.4 kB / 0.8082 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/0.8401, allocations: 68.98 kB / 0.8082 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.682e-05/0.8401, allocations: 36.09 kB / 0.8083 GB, free: 8.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009557/0.8411, allocations: 0.8509 MB / 0.8091 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8411, allocations: 0 / 0.8091 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009015/0.842, allocations: 320.2 kB / 0.8094 GB, free: 7.895 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (80): * Single equations (assignments): 74 * 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.006086/0.8481, allocations: 3.227 MB / 0.8125 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003504/0.8516, allocations: 1.412 MB / 0.8139 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8516, allocations: 0 / 0.8139 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001571/0.8532, allocations: 0.6393 MB / 0.8146 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/0.8556, allocations: 0.5951 MB / 0.8151 GB, free: 5.836 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/0.8728, allocations: 11.75 MB / 0.8266 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.8734, allocations: 1.179 MB / 0.8278 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001254/0.8747, allocations: 341.9 kB / 0.8281 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006077/0.8753, allocations: 498.8 kB / 0.8286 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of SimCode: time 7.11e-07/0.8753, allocations: 4 kB / 0.8286 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7314/1.607, allocations: 33.56 MB / 0.8613 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.137/10.74, allocations: 2.125 kB / 0.8613 GB, free: 9.383 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)