Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_8_Buildings_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.001342/0.001343, allocations: 108 kB / 15.6 MB, free: 132 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.001549/0.00155, allocations: 192.4 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 222.4 MB, free: 4.422 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.727/1.727, allocations: 292.3 MB / 0.5489 GB, free: 12.81 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001702/0.001702, allocations: 76.55 kB / 0.6716 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2085, allocations: 114.5 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6039/0.8124, allocations: 193.8 MB / 0.9728 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008968/0.8214, allocations: 4.992 MB / 0.9777 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.823, allocations: 51.5 kB / 0.9777 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001893/0.8249, allocations: 0.8124 MB / 0.9785 GB, free: 14.88 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.006347/0.8313, allocations: 2.566 MB / 0.981 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00287/0.8342, allocations: 1.104 MB / 0.9821 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003578/0.8378, allocations: 2.595 MB / 0.9846 GB, free: 12.36 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.8392, allocations: 0.899 MB / 0.9855 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0022/0.8414, allocations: 1.084 MB / 0.9865 GB, free: 11.28 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001435/0.8428, allocations: 0.9476 MB / 0.9875 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001807/0.843, allocations: 79.72 kB / 0.9875 GB, free: 10.82 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003478/0.8465, allocations: 1.785 MB / 0.9893 GB, free: 10.06 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004854/0.847, allocations: 436.6 kB / 0.9897 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007862/0.8478, allocations: 0.6595 MB / 0.9904 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00469/0.8525, allocations: 2.153 MB / 0.9925 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.8526, allocations: 0 / 0.9925 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.283e-06/0.8526, allocations: 0 / 0.9925 GB, free: 8.16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.934e-05/0.8526, allocations: 0 / 0.9925 GB, free: 8.16 MB / 0.7325 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.005102/0.8577, allocations: 1.95 MB / 0.9944 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.8578, allocations: 10.47 kB / 0.9944 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001671/0.858, allocations: 144.2 kB / 0.9945 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003938/0.8619, allocations: 0.6591 MB / 0.9952 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.8634, allocations: 0.897 MB / 0.996 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.52e-05/0.8635, allocations: 65.81 kB / 0.9961 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.8636, allocations: 92.28 kB / 0.9962 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002931/0.8666, allocations: 1.464 MB / 0.9976 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.105e-05/0.8666, allocations: 10.31 kB / 0.9976 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001019/0.8667, allocations: 41.17 kB / 0.9977 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.917e-05/0.8668, allocations: 47.48 kB / 0.9977 GB, free: 4.586 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003937/0.8707, allocations: 1.514 MB / 0.9992 GB, free: 3.852 MB / 0.7325 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.006999/0.8777, allocations: 5.502 MB / 1.005 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003733/0.8815, allocations: 1.284 MB / 1.006 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001681/0.8832, allocations: 0.6662 MB / 1.006 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008882/0.8841, allocations: 0.5831 MB / 1.007 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001813/0.8859, allocations: 0.7208 MB / 1.008 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=80): time 3.266e-06/0.8859, allocations: 0 / 1.008 GB, free: 13.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=80): time 0.00574/0.8917, allocations: 1.874 MB / 1.01 GB, free: 12.4 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.552e-05/0.8917, allocations: 59.59 kB / 1.01 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001498/0.8933, allocations: 1.248 MB / 1.011 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.8934, allocations: 46.62 kB / 1.011 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004186/0.8938, allocations: 0.5781 MB / 1.011 GB, free: 11.15 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002383/0.8941, allocations: 284.3 kB / 1.012 GB, free: 10.91 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002758/0.8943, allocations: 189.4 kB / 1.012 GB, free: 10.8 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.8945, allocations: 341.5 kB / 1.012 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/0.8961, allocations: 0.5406 MB / 1.013 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001813/0.8979, allocations: 0.841 MB / 1.014 GB, free: 9.594 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003245/0.9011, allocations: 1.326 MB / 1.015 GB, free: 8.758 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.9012, allocations: 6.75 kB / 1.015 GB, free: 8.754 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003884/0.9051, allocations: 1.497 MB / 1.016 GB, free: 8.02 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.9051, allocations: 13.98 kB / 1.016 GB, free: 8.016 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.9051, allocations: 7.781 kB / 1.016 GB, free: 8.016 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.9051, allocations: 12.34 kB / 1.016 GB, free: 8.016 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.9065, allocations: 287.4 kB / 1.017 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.829e-05/0.9066, allocations: 20.78 kB / 1.017 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.908, allocations: 199.9 kB / 1.017 GB, free: 7.812 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.183e-05/0.9081, allocations: 50.98 kB / 1.017 GB, free: 7.797 MB / 0.7481 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.0005169/0.9086, allocations: 352.8 kB / 1.017 GB, free: 7.547 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/0.9089, allocations: 136.6 kB / 1.017 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00382/0.9127, allocations: 1.406 MB / 1.019 GB, free: 6.723 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.9127, allocations: 7.5 kB / 1.019 GB, free: 6.723 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.9127, allocations: 0 / 1.019 GB, free: 6.723 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-06/0.9127, allocations: 3.984 kB / 1.019 GB, free: 6.719 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005615/0.9184, allocations: 2.807 MB / 1.021 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.094e-06/0.9184, allocations: 4.969 kB / 1.021 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/0.9196, allocations: 225.6 kB / 1.022 GB, free: 4.871 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.9196, allocations: 11.38 kB / 1.022 GB, free: 4.867 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.783e-05/0.9197, allocations: 34.47 kB / 1.022 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/0.9197, allocations: 7.812 kB / 1.022 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.9197, allocations: 2.438 kB / 1.022 GB, free: 4.848 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00565/0.9254, allocations: 2.249 MB / 1.024 GB, free: 3.156 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005588/0.926, allocations: 295.2 kB / 1.024 GB, free: 2.848 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000255/0.9262, allocations: 24 kB / 1.024 GB, free: 2.824 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.9274, allocations: 111.9 kB / 1.024 GB, free: 2.715 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/0.9275, allocations: 60.38 kB / 1.024 GB, free: 2.656 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.8e-05/0.9276, allocations: 35.97 kB / 1.024 GB, free: 2.621 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001215/0.9289, allocations: 0.8604 MB / 1.025 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.7e-07/0.9289, allocations: 0 / 1.025 GB, free: 1.758 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001328/0.9302, allocations: 323.5 kB / 1.026 GB, free: 1.441 MB / 0.7481 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.007043/0.9373, allocations: 3.241 MB / 1.029 GB, free: 14.31 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004123/0.9414, allocations: 1.406 MB / 1.03 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.475e-06/0.9414, allocations: 4 kB / 1.03 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.9433, allocations: 0.6431 MB / 1.031 GB, free: 12.27 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002995/0.9463, allocations: 0.6111 MB / 1.031 GB, free: 11.67 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02123/0.9675, allocations: 11.79 MB / 1.043 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007438/0.9683, allocations: 1.182 MB / 1.044 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001454/0.9698, allocations: 342 kB / 1.044 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007388/0.9705, allocations: 0.4953 MB / 1.045 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of SimCode: time 4.8e-07/0.9705, allocations: 0 / 1.045 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07248/1.043, allocations: 34.14 MB / 1.078 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.356/9.399, allocations: 10.62 kB / 1.078 GB, free: 11.49 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly_res.csv --start-time 0 --stop-time 1200 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)