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.0008256/0.0008255, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001076/0.001077, allocations: 179.2 kB / 16.92 MB, free: 6.918 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.357/1.357, allocations: 223.3 MB / 241 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6945/0.6945, allocations: 115.5 MB / 407.6 MB, free: 2.789 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003272/0.0003273, allocations: 8 kB / 496 MB, free: 6.32 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1475, allocations: 77.53 MB / 0.56 GB, free: 9 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4561/0.6036, allocations: 189 MB / 0.7446 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0082/0.6119, allocations: 5.145 MB / 0.7496 GB, free: 4.602 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.613, allocations: 39.69 kB / 0.7496 GB, free: 4.562 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001731/0.6148, allocations: 0.7155 MB / 0.7503 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006241/0.621, allocations: 2.445 MB / 0.7527 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002538/0.6236, allocations: 1.007 MB / 0.7537 GB, free: 404 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004298/0.6279, allocations: 3.615 MB / 0.7572 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.6295, allocations: 0.8399 MB / 0.7581 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001965/0.6315, allocations: 1.004 MB / 0.759 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.6331, allocations: 1 MB / 0.76 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002346/0.6333, allocations: 52 kB / 0.7601 GB, free: 9.855 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003858/0.6372, allocations: 2.061 MB / 0.7621 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006427/0.6379, allocations: 418.6 kB / 0.7625 GB, free: 7.379 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001063/0.6389, allocations: 0.6425 MB / 0.7631 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004331/0.6433, allocations: 2.243 MB / 0.7653 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.6433, allocations: 0 / 0.7653 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6433, allocations: 0 / 0.7653 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.267e-05/0.6434, allocations: 0 / 0.7653 GB, free: 4.477 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.005405/0.6488, allocations: 1.713 MB / 0.767 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.6489, allocations: 8.031 kB / 0.767 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002933/0.6492, allocations: 139.6 kB / 0.7671 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005854/0.655, allocations: 0.9268 MB / 0.768 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001572/0.6566, allocations: 0.8982 MB / 0.7689 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.352e-05/0.6567, allocations: 73.98 kB / 0.769 GB, free: 0.6016 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002336/0.6569, allocations: 99.83 kB / 0.7691 GB, free: 0.5039 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003935/0.6609, allocations: 1.575 MB / 0.7706 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.6609, allocations: 3.938 kB / 0.7706 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001221/0.661, allocations: 39.98 kB / 0.7706 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.479e-05/0.6611, allocations: 45.98 kB / 0.7707 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005567/0.6667, allocations: 1.842 MB / 0.7725 GB, free: 12.96 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.007794/0.6745, allocations: 4.754 MB / 0.7771 GB, free: 7.977 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004676/0.6792, allocations: 1.579 MB / 0.7787 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002434/0.6816, allocations: 0.8469 MB / 0.7795 GB, free: 5.543 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001384/0.683, allocations: 0.9647 MB / 0.7804 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002599/0.6856, allocations: 0.9111 MB / 0.7813 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 2.795e-06/0.6857, allocations: 0 / 0.7813 GB, free: 3.473 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.008085/0.6938, allocations: 2.446 MB / 0.7837 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.6938, allocations: 60.41 kB / 0.7838 GB, free: 0.9492 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.6955, allocations: 1.205 MB / 0.785 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001319/0.6956, allocations: 49.64 kB / 0.785 GB, free: 15.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004655/0.6961, allocations: 0.5409 MB / 0.7855 GB, free: 15.13 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003496/0.6965, allocations: 335.3 kB / 0.7858 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001611/0.6966, allocations: 77.67 kB / 0.7859 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.6968, allocations: 341.9 kB / 0.7862 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002349/0.6992, allocations: 0.6967 MB / 0.7869 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002522/0.7017, allocations: 0.9074 MB / 0.7878 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00469/0.7064, allocations: 1.554 MB / 0.7893 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.013e-06/0.7064, allocations: 4 kB / 0.7893 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005361/0.7118, allocations: 1.772 MB / 0.7911 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.7118, allocations: 8 kB / 0.7911 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.7118, allocations: 4 kB / 0.7911 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.7119, allocations: 11.98 kB / 0.7911 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001811/0.7137, allocations: 340 kB / 0.7914 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.117e-05/0.7137, allocations: 8 kB / 0.7914 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001754/0.7155, allocations: 258.7 kB / 0.7917 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/0.7156, allocations: 47.97 kB / 0.7917 GB, free: 8.645 MB / 0.6075 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.0005956/0.7162, allocations: 339.7 kB / 0.792 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002467/0.7165, allocations: 134.3 kB / 0.7922 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005467/0.7219, allocations: 1.796 MB / 0.7939 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.722, allocations: 8 kB / 0.7939 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.722, allocations: 3.938 kB / 0.7939 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.722, allocations: 3.984 kB / 0.7939 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007675/0.7297, allocations: 3.336 MB / 0.7972 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.036e-05/0.7297, allocations: 4 kB / 0.7972 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001805/0.7315, allocations: 292 kB / 0.7975 GB, free: 2.617 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.396e-05/0.7316, allocations: 8 kB / 0.7975 GB, free: 2.609 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001154/0.7317, allocations: 31.97 kB / 0.7975 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.772e-05/0.7317, allocations: 15.92 kB / 0.7975 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.7317, allocations: 4 kB / 0.7975 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008067/0.7398, allocations: 2.832 MB / 0.8003 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006347/0.7404, allocations: 335.1 kB / 0.8006 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002365/0.7407, allocations: 24 kB / 0.8006 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001578/0.7423, allocations: 175.7 kB / 0.8008 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/0.7425, allocations: 72.45 kB / 0.8009 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-05/0.7426, allocations: 39.97 kB / 0.8009 GB, free: 15 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001125/0.7437, allocations: 0.8353 MB / 0.8017 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.7e-07/0.7437, allocations: 0 / 0.8017 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001162/0.7449, allocations: 339.6 kB / 0.8021 GB, free: 13.83 MB / 0.6231 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.009317/0.7542, allocations: 3.819 MB / 0.8058 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00519/0.7594, allocations: 1.626 MB / 0.8074 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.7595, allocations: 0 / 0.8074 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002614/0.7621, allocations: 0.8322 MB / 0.8082 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004278/0.7664, allocations: 0.5881 MB / 0.8088 GB, free: 7.07 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0276/0.794, allocations: 13.34 MB / 0.8218 GB, free: 9.176 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009051/0.795, allocations: 1.191 MB / 0.8229 GB, free: 7.953 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001777/0.7968, allocations: 362 kB / 0.8233 GB, free: 7.598 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009219/0.7977, allocations: 0.5031 MB / 0.8238 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of SimCode: time 1.403e-06/0.7977, allocations: 0 / 0.8238 GB, free: 7.098 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3208/1.119, allocations: 33.66 MB / 0.8566 GB, free: 223.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001482/1.119, allocations: 241.5 kB / 0.8569 GB, free: 223.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.761/3.88, allocations: 3 kB / 0.8569 GB, free: 223.3 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)