Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_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.005382/0.005382, allocations: 100.1 kB / 15.73 MB, free: 6.445 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.001287/0.001287, allocations: 191.5 kB / 16.67 MB, free: 6.348 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.407/1.407, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002467/0.002467, allocations: 285.9 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.059/1.059, allocations: 178.6 MB / 0.5074 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002702/0.002702, allocations: 100.1 kB / 0.6943 GB, free: 3.559 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4857/0.4884, allocations: 89.14 MB / 0.7814 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2299/0.7184, allocations: 193.8 MB / 0.9706 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008664/0.7271, allocations: 5.139 MB / 0.9757 GB, free: 7.617 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.7281, allocations: 47.69 kB / 0.9757 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001855/0.73, allocations: 0.8236 MB / 0.9765 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006241/0.7363, allocations: 2.594 MB / 0.979 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00291/0.7392, allocations: 1.108 MB / 0.9801 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003872/0.7431, allocations: 2.609 MB / 0.9827 GB, free: 428 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001435/0.7446, allocations: 0.8884 MB / 0.9835 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002903/0.7475, allocations: 1.086 MB / 0.9846 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.7491, allocations: 0.9495 MB / 0.9855 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001637/0.7493, allocations: 80 kB / 0.9856 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00354/0.7528, allocations: 1.777 MB / 0.9873 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004683/0.7533, allocations: 438.6 kB / 0.9878 GB, free: 11.19 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007641/0.7541, allocations: 0.6448 MB / 0.9884 GB, free: 10.54 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003295/0.7574, allocations: 2.156 MB / 0.9905 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.7574, allocations: 0 / 0.9905 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7574, allocations: 0 / 0.9905 GB, free: 8.375 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.421e-05/0.7574, allocations: 0 / 0.9905 GB, free: 8.375 MB / 0.7481 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.004901/0.7624, allocations: 1.979 MB / 0.9924 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.7624, allocations: 11.97 kB / 0.9924 GB, free: 6.328 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001756/0.7626, allocations: 139.5 kB / 0.9926 GB, free: 6.184 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003983/0.7666, allocations: 0.674 MB / 0.9932 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001679/0.7683, allocations: 0.9499 MB / 0.9942 GB, free: 4.5 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.13e-05/0.7684, allocations: 77.98 kB / 0.9942 GB, free: 4.426 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/0.7685, allocations: 84 kB / 0.9943 GB, free: 4.344 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003182/0.7717, allocations: 1.47 MB / 0.9958 GB, free: 2.797 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.909e-05/0.7718, allocations: 3.938 kB / 0.9958 GB, free: 2.793 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.7719, allocations: 35.98 kB / 0.9958 GB, free: 2.758 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.179e-05/0.772, allocations: 53.98 kB / 0.9958 GB, free: 2.707 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004177/0.7761, allocations: 1.522 MB / 0.9973 GB, free: 1.184 MB / 0.7481 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.007503/0.7837, allocations: 5.496 MB / 1.003 GB, free: 11.41 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003943/0.7876, allocations: 1.283 MB / 1.004 GB, free: 10.11 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001782/0.7894, allocations: 0.6585 MB / 1.005 GB, free: 9.449 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009323/0.7904, allocations: 0.5773 MB / 1.005 GB, free: 8.762 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00194/0.7923, allocations: 0.719 MB / 1.006 GB, free: 8.027 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=80): time 2.745e-06/0.7923, allocations: 4 kB / 1.006 GB, free: 8.023 MB / 0.7637 GB Notification: Performance of matching and sorting (n=80): time 0.005927/0.7983, allocations: 1.875 MB / 1.008 GB, free: 6.141 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.7983, allocations: 64.06 kB / 1.008 GB, free: 6.066 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001581/0.7999, allocations: 1.239 MB / 1.009 GB, free: 4.82 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.313e-05/0.8, allocations: 45.69 kB / 1.009 GB, free: 4.77 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004952/0.8005, allocations: 0.5838 MB / 1.01 GB, free: 4.18 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002707/0.8008, allocations: 289.6 kB / 1.01 GB, free: 3.895 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003201/0.8011, allocations: 186.6 kB / 1.01 GB, free: 3.703 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.8013, allocations: 341.9 kB / 1.01 GB, free: 3.363 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.803, allocations: 0.5366 MB / 1.011 GB, free: 2.828 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001951/0.805, allocations: 0.8213 MB / 1.012 GB, free: 1.898 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003585/0.8086, allocations: 1.328 MB / 1.013 GB, free: 480 kB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/0.8086, allocations: 4 kB / 1.013 GB, free: 476 kB / 0.7637 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004224/0.8128, allocations: 1.495 MB / 1.014 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/0.8129, allocations: 8 kB / 1.014 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.475e-05/0.8129, allocations: 11.98 kB / 1.014 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.792e-05/0.8129, allocations: 12.75 kB / 1.014 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/0.8144, allocations: 295.6 kB / 1.015 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.14e-05/0.8144, allocations: 15.94 kB / 1.015 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.8158, allocations: 203 kB / 1.015 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.8159, allocations: 51.97 kB / 1.015 GB, free: 14.38 MB / 0.7794 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.0005807/0.8165, allocations: 331.7 kB / 1.015 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/0.8168, allocations: 151 kB / 1.015 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00401/0.8208, allocations: 1.409 MB / 1.017 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.768e-06/0.8208, allocations: 8.094 kB / 1.017 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.196e-06/0.8208, allocations: 3.938 kB / 1.017 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.373e-05/0.8208, allocations: 7.984 kB / 1.017 GB, free: 12.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006117/0.8269, allocations: 2.803 MB / 1.02 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.899e-06/0.827, allocations: 12.03 kB / 1.02 GB, free: 9.543 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001246/0.8282, allocations: 219.6 kB / 1.02 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/0.8283, allocations: 4 kB / 1.02 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.32e-05/0.8284, allocations: 31.97 kB / 1.02 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.588e-06/0.8284, allocations: 8 kB / 1.02 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.8284, allocations: 4 kB / 1.02 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005825/0.8342, allocations: 2.256 MB / 1.022 GB, free: 6.961 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006199/0.8349, allocations: 307.9 kB / 1.022 GB, free: 6.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.835, allocations: 24 kB / 1.022 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/0.8361, allocations: 111.9 kB / 1.023 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001446/0.8363, allocations: 60.38 kB / 1.023 GB, free: 6.445 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.242e-05/0.8364, allocations: 35.97 kB / 1.023 GB, free: 6.41 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001114/0.8375, allocations: 0.86 MB / 1.023 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/0.8375, allocations: 0 / 1.023 GB, free: 5.547 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001009/0.8385, allocations: 319.7 kB / 1.024 GB, free: 5.234 MB / 0.7794 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.00778/0.8463, allocations: 3.23 MB / 1.027 GB, free: 2.105 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003928/0.8502, allocations: 1.294 MB / 1.028 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.613e-06/0.8503, allocations: 0 / 1.028 GB, free: 0.8125 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001871/0.8521, allocations: 0.6405 MB / 1.029 GB, free: 180 kB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/0.8552, allocations: 0.5919 MB / 1.029 GB, free: 15.59 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02101/0.8762, allocations: 10.98 MB / 1.04 GB, free: 4.184 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008117/0.877, allocations: 1.171 MB / 1.041 GB, free: 2.984 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001217/0.8783, allocations: 341.9 kB / 1.042 GB, free: 2.648 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007345/0.879, allocations: 0.4914 MB / 1.042 GB, free: 2.156 MB / 0.795 GB Notification: Performance of SimCode: time 8.11e-07/0.879, allocations: 0 / 1.042 GB, free: 2.156 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07129/0.9503, allocations: 33.97 MB / 1.075 GB, free: 0.6836 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.44, allocations: 7.812 kB / 1.075 GB, free: 0.6797 MB / 0.8262 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.48 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)