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.001366/0.001366, allocations: 104.4 kB / 16.4 MB, free: 6.5 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.001549/0.00155, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.364/1.364, 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.7793/0.7793, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 65.66 kB / 0.568 GB, free: 29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1651/0.1665, allocations: 77.93 MB / 0.6441 GB, free: 9.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5929/0.7594, allocations: 193.8 MB / 0.8333 GB, free: 3.461 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.009314/0.7688, allocations: 5.157 MB / 0.8384 GB, free: 15.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001655/0.7705, allocations: 47 kB / 0.8384 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002163/0.7727, allocations: 0.8268 MB / 0.8392 GB, free: 14.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007211/0.78, allocations: 2.699 MB / 0.8419 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003175/0.7832, allocations: 1.103 MB / 0.8429 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004074/0.7873, allocations: 2.693 MB / 0.8456 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001759/0.7891, allocations: 0.9384 MB / 0.8465 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002705/0.7918, allocations: 1.143 MB / 0.8476 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001876/0.7937, allocations: 0.9988 MB / 0.8486 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003254/0.7941, allocations: 88 kB / 0.8487 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004469/0.7985, allocations: 1.797 MB / 0.8504 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008273/0.7994, allocations: 447 kB / 0.8508 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001351/0.8008, allocations: 0.6649 MB / 0.8515 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005606/0.8064, allocations: 2.218 MB / 0.8537 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.085e-05/0.8065, allocations: 2.469 kB / 0.8537 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.975e-06/0.8065, allocations: 0 / 0.8537 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.399e-05/0.8066, allocations: 4 kB / 0.8537 GB, free: 5.363 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.006849/0.8134, allocations: 1.996 MB / 0.8556 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.548e-05/0.8135, allocations: 16.62 kB / 0.8556 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002176/0.8137, allocations: 151.5 kB / 0.8558 GB, free: 3.164 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005823/0.8195, allocations: 0.8949 MB / 0.8567 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002115/0.8217, allocations: 0.9927 MB / 0.8576 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/0.8218, allocations: 66 kB / 0.8577 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002425/0.8221, allocations: 95.94 kB / 0.8578 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004121/0.8262, allocations: 1.579 MB / 0.8593 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.809e-05/0.8263, allocations: 4 kB / 0.8593 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001184/0.8264, allocations: 35.98 kB / 0.8594 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.577e-05/0.8265, allocations: 49.98 kB / 0.8594 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005765/0.8322, allocations: 1.85 MB / 0.8612 GB, free: 13.51 MB / 0.6231 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.008856/0.8411, allocations: 4.735 MB / 0.8658 GB, free: 8.543 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00474/0.8459, allocations: 1.568 MB / 0.8674 GB, free: 6.961 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00243/0.8484, allocations: 0.8507 MB / 0.8682 GB, free: 6.109 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001267/0.8497, allocations: 0.9452 MB / 0.8691 GB, free: 4.98 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002619/0.8523, allocations: 0.9105 MB / 0.87 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=95): time 3.437e-06/0.8523, allocations: 0 / 0.87 GB, free: 4.055 MB / 0.6231 GB Notification: Performance of matching and sorting (n=95): time 0.007999/0.8603, allocations: 2.463 MB / 0.8724 GB, free: 1.586 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.8604, allocations: 60.41 kB / 0.8725 GB, free: 1.516 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/0.8619, allocations: 1.197 MB / 0.8736 GB, free: 316 kB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.862, allocations: 49.7 kB / 0.8737 GB, free: 260 kB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004452/0.8624, allocations: 0.5531 MB / 0.8742 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003442/0.8628, allocations: 341.1 kB / 0.8746 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003455/0.8631, allocations: 186.6 kB / 0.8747 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.8633, allocations: 345.9 kB / 0.8751 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002204/0.8655, allocations: 0.6927 MB / 0.8757 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002367/0.8679, allocations: 0.9113 MB / 0.8766 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004429/0.8723, allocations: 1.554 MB / 0.8781 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.366e-06/0.8723, allocations: 3.938 kB / 0.8782 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005152/0.8775, allocations: 1.789 MB / 0.8799 GB, free: 9.746 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/0.8775, allocations: 8 kB / 0.8799 GB, free: 9.738 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.242e-05/0.8776, allocations: 4 kB / 0.8799 GB, free: 9.734 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.8776, allocations: 8 kB / 0.8799 GB, free: 9.727 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001859/0.8795, allocations: 347.6 kB / 0.8802 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.03e-05/0.8795, allocations: 8 kB / 0.8803 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/0.8813, allocations: 243.9 kB / 0.8805 GB, free: 9.141 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001414/0.8814, allocations: 47.97 kB / 0.8805 GB, free: 9.094 MB / 0.6387 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.0005958/0.882, allocations: 335.7 kB / 0.8809 GB, free: 8.754 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/0.8823, allocations: 147 kB / 0.881 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005376/0.8877, allocations: 1.802 MB / 0.8828 GB, free: 6.797 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/0.8877, allocations: 12 kB / 0.8828 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.8877, allocations: 0 / 0.8828 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.8878, allocations: 3.984 kB / 0.8828 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007796/0.8956, allocations: 3.34 MB / 0.886 GB, free: 3.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.237e-05/0.8956, allocations: 9.062 kB / 0.886 GB, free: 3.332 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001737/0.8974, allocations: 291.8 kB / 0.8863 GB, free: 3.047 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.751e-05/0.8974, allocations: 8 kB / 0.8863 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001206/0.8975, allocations: 31.97 kB / 0.8864 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-05/0.8975, allocations: 8 kB / 0.8864 GB, free: 3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.8976, allocations: 7.938 kB / 0.8864 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007522/0.9051, allocations: 2.852 MB / 0.8892 GB, free: 76 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007851/0.9059, allocations: 332 kB / 0.8895 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002555/0.9062, allocations: 28 kB / 0.8895 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/0.9077, allocations: 155.8 kB / 0.8896 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001818/0.9079, allocations: 76.44 kB / 0.8897 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.908, allocations: 35.97 kB / 0.8898 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001058/0.9091, allocations: 0.8315 MB / 0.8906 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.81e-07/0.9091, allocations: 0 / 0.8906 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001214/0.9103, allocations: 347.7 kB / 0.8909 GB, free: 14.27 MB / 0.6544 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.009568/0.9199, allocations: 3.834 MB / 0.8946 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.005264/0.9252, allocations: 1.638 MB / 0.8962 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/0.9252, allocations: 4 kB / 0.8962 GB, free: 8.887 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002543/0.9278, allocations: 0.8322 MB / 0.8971 GB, free: 8.051 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003063/0.9309, allocations: 0.6069 MB / 0.8977 GB, free: 7.453 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02551/0.9564, allocations: 12.09 MB / 0.9095 GB, free: 11.03 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007704/0.9572, allocations: 1.179 MB / 0.9106 GB, free: 9.82 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001509/0.9587, allocations: 362 kB / 0.911 GB, free: 9.465 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009219/0.9597, allocations: 0.5031 MB / 0.9114 GB, free: 8.961 MB / 0.67 GB Notification: Performance of SimCode: time 7.32e-07/0.9597, allocations: 0 / 0.9114 GB, free: 8.961 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06717/1.027, allocations: 35.67 MB / 0.9463 GB, free: 5.637 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.85, allocations: 11.81 kB / 0.9463 GB, free: 5.625 MB / 0.7012 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 IBPSA_latest_IBPSA_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)