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.001491/0.001492, allocations: 105.6 kB / 15.98 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.001363/0.001363, allocations: 191 kB / 16.91 MB, free: 6.195 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.382/1.382, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6984/0.6984, allocations: 115.3 MB / 406.1 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001406/0.001407, allocations: 63.91 kB / 493.2 MB, free: 0.6055 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3823/0.3838, allocations: 76.17 MB / 0.556 GB, free: 36.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2057/0.5895, allocations: 191.3 MB / 0.7428 GB, free: 4.699 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3479/0.9374, allocations: 5.108 MB / 0.7478 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001251/0.9387, allocations: 43.84 kB / 0.7479 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001792/0.9405, allocations: 0.7302 MB / 0.7486 GB, free: 1.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005408/0.9459, allocations: 2.448 MB / 0.751 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002351/0.9483, allocations: 1.01 MB / 0.752 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003575/0.9519, allocations: 2.696 MB / 0.7546 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.9534, allocations: 0.9506 MB / 0.7555 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002122/0.9556, allocations: 1.131 MB / 0.7566 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001526/0.9571, allocations: 1.054 MB / 0.7576 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.9573, allocations: 86.22 kB / 0.7577 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003708/0.961, allocations: 1.861 MB / 0.7595 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006434/0.9617, allocations: 456.2 kB / 0.76 GB, free: 1.668 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008999/0.9626, allocations: 0.6686 MB / 0.7606 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003916/0.9665, allocations: 2.301 MB / 0.7629 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.9665, allocations: 1.75 kB / 0.7629 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.9665, allocations: 0 / 0.7629 GB, free: 1.523 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.234e-05/0.9666, allocations: 0 / 0.7629 GB, free: 1.523 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.005478/0.9721, allocations: 1.961 MB / 0.7648 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.9721, allocations: 9.906 kB / 0.7648 GB, free: 16.58 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001746/0.9723, allocations: 144.3 kB / 0.7649 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005628/0.9779, allocations: 0.891 MB / 0.7658 GB, free: 16.46 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001515/0.9795, allocations: 0.9077 MB / 0.7667 GB, free: 16.08 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.577e-05/0.9795, allocations: 71.12 kB / 0.7668 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.9797, allocations: 93.78 kB / 0.7669 GB, free: 16.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003739/0.9835, allocations: 1.581 MB / 0.7684 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.328e-05/0.9835, allocations: 1.719 kB / 0.7684 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001173/0.9837, allocations: 34.28 kB / 0.7684 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.262e-05/0.9837, allocations: 52.22 kB / 0.7685 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005694/0.9894, allocations: 1.846 MB / 0.7703 GB, free: 15.95 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.008736/0.9982, allocations: 4.739 MB / 0.7749 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003917/1.002, allocations: 1.562 MB / 0.7764 GB, free: 14.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002023/1.004, allocations: 0.8578 MB / 0.7773 GB, free: 14.04 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/1.005, allocations: 0.9388 MB / 0.7782 GB, free: 13.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002218/1.008, allocations: 0.9073 MB / 0.7791 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 2.936e-06/1.008, allocations: 0 / 0.7791 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.007061/1.015, allocations: 2.46 MB / 0.7815 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/1.015, allocations: 66.59 kB / 0.7815 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/1.016, allocations: 1.192 MB / 0.7827 GB, free: 12.72 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001203/1.016, allocations: 46.11 kB / 0.7828 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003559/1.017, allocations: 0.5449 MB / 0.7833 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002774/1.017, allocations: 329.5 kB / 0.7836 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003281/1.017, allocations: 188.2 kB / 0.7838 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001144/1.017, allocations: 343.7 kB / 0.7841 GB, free: 12 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001992/1.019, allocations: 0.6969 MB / 0.7848 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002125/1.021, allocations: 0.9067 MB / 0.7857 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003866/1.025, allocations: 1.561 MB / 0.7872 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/1.025, allocations: 0 / 0.7872 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004687/1.03, allocations: 1.776 MB / 0.7889 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/1.03, allocations: 8.031 kB / 0.7889 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.588e-05/1.03, allocations: 9.625 kB / 0.789 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.736e-05/1.03, allocations: 8.938 kB / 0.789 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001698/1.032, allocations: 344.2 kB / 0.7893 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.411e-05/1.032, allocations: 13.38 kB / 0.7893 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001715/1.034, allocations: 249.9 kB / 0.7895 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/1.034, allocations: 45.69 kB / 0.7896 GB, free: 11.32 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.0005537/1.034, allocations: 339.7 kB / 0.7899 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002127/1.034, allocations: 140 kB / 0.79 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004728/1.039, allocations: 1.8 MB / 0.7918 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.325e-06/1.039, allocations: 10.16 kB / 0.7918 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/1.039, allocations: 2.016 kB / 0.7918 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.058e-05/1.039, allocations: 4.266 kB / 0.7918 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006755/1.046, allocations: 3.34 MB / 0.7951 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.448e-05/1.046, allocations: 8.25 kB / 0.7951 GB, free: 10.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001732/1.048, allocations: 296.7 kB / 0.7954 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.214e-05/1.048, allocations: 7.156 kB / 0.7954 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.986e-05/1.048, allocations: 34.45 kB / 0.7954 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/1.048, allocations: 13.94 kB / 0.7954 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/1.048, allocations: 9.906 kB / 0.7954 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007266/1.055, allocations: 2.836 MB / 0.7982 GB, free: 9.738 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008362/1.056, allocations: 324.4 kB / 0.7985 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004071/1.057, allocations: 25.09 kB / 0.7985 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/1.058, allocations: 174.4 kB / 0.7987 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001648/1.058, allocations: 74.55 kB / 0.7988 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/1.058, allocations: 38.53 kB / 0.7988 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001176/1.06, allocations: 0.8333 MB / 0.7996 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/1.06, allocations: 0 / 0.7996 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001287/1.061, allocations: 343.4 kB / 0.7999 GB, free: 9.156 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.008498/1.069, allocations: 3.823 MB / 0.8037 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005267/1.075, allocations: 1.787 MB / 0.8054 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.873e-06/1.075, allocations: 1.25 kB / 0.8054 GB, free: 7.195 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002251/1.077, allocations: 0.8403 MB / 0.8062 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/1.08, allocations: 0.605 MB / 0.8068 GB, free: 6.777 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02536/1.105, allocations: 13.24 MB / 0.8198 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007681/1.106, allocations: 1.185 MB / 0.8209 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001686/1.108, allocations: 362 kB / 0.8213 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007835/1.109, allocations: 0.5 MB / 0.8218 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of SimCode: time 7.31e-07/1.109, allocations: 0 / 0.8218 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06278/1.172, allocations: 35.01 MB / 0.8559 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001888/1.172, allocations: 242.4 kB / 0.8562 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.704/3.876, allocations: 0 / 0.8562 GB, free: 7.754 MB / 0.6387 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)