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.001167/0.001167, allocations: 102.2 kB / 15.98 MB, free: 6.34 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.001269/0.001269, allocations: 201.4 kB / 16.91 MB, free: 6.188 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.32/1.32, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6973/0.6973, allocations: 115.3 MB / 406.1 MB, free: 6.383 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001469/0.001469, allocations: 63.91 kB / 493.2 MB, free: 0.6133 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3298, allocations: 76.18 MB / 0.556 GB, free: 35.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.1914/0.5212, allocations: 191.3 MB / 0.7428 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3347/0.8559, allocations: 5.108 MB / 0.7478 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001716/0.8577, allocations: 45.03 kB / 0.7479 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002121/0.8599, allocations: 0.7275 MB / 0.7486 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007172/0.867, allocations: 2.446 MB / 0.751 GB, free: 1.824 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003163/0.8702, allocations: 1.01 MB / 0.752 GB, free: 1.805 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005112/0.8754, allocations: 2.627 MB / 0.7545 GB, free: 1.801 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001987/0.8774, allocations: 0.8979 MB / 0.7554 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002973/0.8804, allocations: 1.109 MB / 0.7565 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002034/0.8824, allocations: 1.015 MB / 0.7575 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000371/0.8828, allocations: 78.28 kB / 0.7575 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003898/0.8867, allocations: 1.851 MB / 0.7594 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006963/0.8874, allocations: 438.4 kB / 0.7598 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001253/0.8887, allocations: 0.6454 MB / 0.7604 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003742/0.8924, allocations: 2.247 MB / 0.7626 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.8925, allocations: 4.969 kB / 0.7626 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8925, allocations: 1.312 kB / 0.7626 GB, free: 1.562 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.999e-05/0.8925, allocations: 0.9062 kB / 0.7626 GB, free: 1.562 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.004921/0.8974, allocations: 1.928 MB / 0.7645 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.8975, allocations: 9.469 kB / 0.7645 GB, free: 16.62 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/0.8976, allocations: 143.7 kB / 0.7646 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004075/0.9017, allocations: 0.6561 MB / 0.7653 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001707/0.9034, allocations: 0.8815 MB / 0.7661 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.114e-05/0.9035, allocations: 66.88 kB / 0.7662 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.9037, allocations: 84.91 kB / 0.7663 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003235/0.907, allocations: 1.478 MB / 0.7677 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.621e-05/0.907, allocations: 4.219 kB / 0.7677 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001084/0.9071, allocations: 32.81 kB / 0.7678 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.367e-05/0.9072, allocations: 52.3 kB / 0.7678 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00431/0.9115, allocations: 1.52 MB / 0.7693 GB, free: 15.88 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.00807/0.9196, allocations: 5.485 MB / 0.7747 GB, free: 12.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003719/0.9233, allocations: 1.285 MB / 0.7759 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001529/0.9249, allocations: 0.6632 MB / 0.7766 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009034/0.9258, allocations: 0.5815 MB / 0.7771 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001742/0.9276, allocations: 0.7043 MB / 0.7778 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=80): time 3.026e-06/0.9276, allocations: 1 kB / 0.7778 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of matching and sorting (n=80): time 0.005383/0.933, allocations: 1.879 MB / 0.7796 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.933, allocations: 58.34 kB / 0.7797 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.9346, allocations: 1.238 MB / 0.7809 GB, free: 11.9 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.9348, allocations: 45.58 kB / 0.781 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005003/0.9353, allocations: 0.5855 MB / 0.7815 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003232/0.9356, allocations: 277.9 kB / 0.7818 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003156/0.9359, allocations: 180.7 kB / 0.782 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.9361, allocations: 342.6 kB / 0.7823 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001496/0.9376, allocations: 0.5344 MB / 0.7828 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001709/0.9393, allocations: 0.8283 MB / 0.7836 GB, free: 10.89 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003107/0.9424, allocations: 1.323 MB / 0.7849 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/0.9424, allocations: 2.438 kB / 0.7849 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003767/0.9462, allocations: 1.492 MB / 0.7864 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.9462, allocations: 10.06 kB / 0.7864 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.792e-05/0.9463, allocations: 13.53 kB / 0.7864 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.9463, allocations: 14.97 kB / 0.7864 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.9477, allocations: 293.1 kB / 0.7867 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.614e-05/0.9477, allocations: 17.89 kB / 0.7867 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001654/0.9494, allocations: 220.1 kB / 0.7869 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001455/0.9495, allocations: 48.22 kB / 0.787 GB, free: 10.4 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.0006399/0.9502, allocations: 342.6 kB / 0.7873 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003381/0.9505, allocations: 130.9 kB / 0.7874 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003867/0.9544, allocations: 1.411 MB / 0.7888 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.957e-06/0.9544, allocations: 8.875 kB / 0.7888 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.9544, allocations: 4 kB / 0.7888 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.899e-06/0.9545, allocations: 2.953 kB / 0.7888 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005919/0.9604, allocations: 2.8 MB / 0.7915 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/0.9604, allocations: 6.125 kB / 0.7915 GB, free: 9.598 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.9616, allocations: 221.3 kB / 0.7918 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.425e-05/0.9617, allocations: 8.125 kB / 0.7918 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.839e-05/0.9617, allocations: 31.81 kB / 0.7918 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.9618, allocations: 14.47 kB / 0.7918 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.9618, allocations: 6.531 kB / 0.7918 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005164/0.9669, allocations: 2.248 MB / 0.794 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000635/0.9676, allocations: 296.5 kB / 0.7943 GB, free: 9.016 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002955/0.9679, allocations: 25.83 kB / 0.7943 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001268/0.9692, allocations: 129.3 kB / 0.7944 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001427/0.9693, allocations: 66.66 kB / 0.7945 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.002e-05/0.9694, allocations: 33.56 kB / 0.7945 GB, free: 8.996 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001052/0.9705, allocations: 0.8547 MB / 0.7954 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9705, allocations: 1.203 kB / 0.7954 GB, free: 8.887 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001174/0.9717, allocations: 321.9 kB / 0.7957 GB, free: 8.859 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.006672/0.9783, allocations: 3.228 MB / 0.7988 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.003817/0.9822, allocations: 1.406 MB / 0.8002 GB, free: 7.797 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/0.9822, allocations: 4.25 kB / 0.8002 GB, free: 7.793 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001667/0.9839, allocations: 0.644 MB / 0.8008 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003074/0.987, allocations: 0.5905 MB / 0.8014 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02249/1.009, allocations: 12.1 MB / 0.8132 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008492/1.01, allocations: 1.17 MB / 0.8144 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001584/1.012, allocations: 345.9 kB / 0.8147 GB, free: 15.51 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007273/1.013, allocations: 0.4952 MB / 0.8152 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of SimCode: time 1.182e-06/1.013, allocations: 2.906 kB / 0.8152 GB, free: 15.37 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07421/1.087, allocations: 33.25 MB / 0.8477 GB, free: 14.63 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/1.087, allocations: 261.8 kB / 0.8479 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/3.672, allocations: 3 kB / 0.8479 GB, free: 14.37 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)