Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.005102/0.005102, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001304/0.001304, allocations: 197.5 kB / 16.67 MB, free: 5.934 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002394/0.002394, allocations: 286.3 kB / 290.8 MB, free: 1.914 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9857/0.9857, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00264/0.00264, allocations: 104.2 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1723, allocations: 86.97 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5353/0.7076, allocations: 193.8 MB / 0.9552 GB, free: 1.199 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.008495/0.7162, allocations: 5.151 MB / 0.9602 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000847/0.717, allocations: 47.69 kB / 0.9603 GB, free: 12 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001705/0.7188, allocations: 0.8081 MB / 0.9611 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005756/0.7246, allocations: 2.606 MB / 0.9636 GB, free: 8.57 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002592/0.7272, allocations: 1.104 MB / 0.9647 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003273/0.7305, allocations: 2.606 MB / 0.9672 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.7318, allocations: 0.8844 MB / 0.9681 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.7341, allocations: 1.086 MB / 0.9692 GB, free: 2.871 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001638/0.7357, allocations: 0.9573 MB / 0.9701 GB, free: 1.91 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001788/0.7359, allocations: 80 kB / 0.9702 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003446/0.7394, allocations: 1.781 MB / 0.9719 GB, free: 48 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005353/0.7399, allocations: 446.6 kB / 0.9723 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.000778/0.7407, allocations: 0.6454 MB / 0.973 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003333/0.744, allocations: 2.189 MB / 0.9751 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.7441, allocations: 0 / 0.9751 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.122e-06/0.7441, allocations: 7.875 kB / 0.9751 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.594e-05/0.7441, allocations: 0 / 0.9751 GB, free: 12.75 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.004839/0.7489, allocations: 1.982 MB / 0.9771 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.749, allocations: 12.03 kB / 0.9771 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/0.7492, allocations: 133.7 kB / 0.9772 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004245/0.7534, allocations: 0.7169 MB / 0.9779 GB, free: 9.848 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001682/0.7551, allocations: 0.9695 MB / 0.9788 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.936e-05/0.7552, allocations: 62 kB / 0.9789 GB, free: 8.762 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001636/0.7554, allocations: 84 kB / 0.979 GB, free: 8.68 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003225/0.7586, allocations: 1.476 MB / 0.9804 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.446e-05/0.7586, allocations: 4 kB / 0.9804 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.7587, allocations: 35.98 kB / 0.9805 GB, free: 7.109 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.122e-05/0.7588, allocations: 45.98 kB / 0.9805 GB, free: 7.062 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004228/0.763, allocations: 1.561 MB / 0.982 GB, free: 5.5 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.006684/0.7697, allocations: 5.027 MB / 0.9869 GB, free: 216 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003412/0.7732, allocations: 1.174 MB / 0.9881 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/0.7749, allocations: 0.6746 MB / 0.9887 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00132/0.7763, allocations: 0.9371 MB / 0.9897 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001897/0.7782, allocations: 0.7341 MB / 0.9904 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=82): time 2.625e-06/0.7782, allocations: 0 / 0.9904 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82): time 0.00604/0.7842, allocations: 1.957 MB / 0.9923 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.96e-05/0.7843, allocations: 60.06 kB / 0.9923 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001554/0.7859, allocations: 1.268 MB / 0.9936 GB, free: 9.176 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.816e-05/0.786, allocations: 41.7 kB / 0.9936 GB, free: 9.129 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004905/0.7864, allocations: 0.5763 MB / 0.9942 GB, free: 8.547 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002759/0.7867, allocations: 297.5 kB / 0.9945 GB, free: 8.254 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003224/0.7871, allocations: 190.5 kB / 0.9946 GB, free: 8.062 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.7872, allocations: 341.9 kB / 0.995 GB, free: 7.723 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001677/0.7889, allocations: 0.5561 MB / 0.9955 GB, free: 7.168 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001969/0.7909, allocations: 0.8169 MB / 0.9963 GB, free: 6.25 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003453/0.7944, allocations: 1.344 MB / 0.9976 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.7944, allocations: 0 / 0.9976 GB, free: 4.812 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004053/0.7984, allocations: 1.523 MB / 0.9991 GB, free: 3.277 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.3e-05/0.7985, allocations: 11.98 kB / 0.9991 GB, free: 3.266 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.455e-05/0.7985, allocations: 9.438 kB / 0.9991 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.7985, allocations: 12 kB / 0.9991 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.7999, allocations: 292.1 kB / 0.9994 GB, free: 2.961 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.081e-05/0.8, allocations: 15.94 kB / 0.9994 GB, free: 2.945 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001305/0.8013, allocations: 195 kB / 0.9996 GB, free: 2.754 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.8014, allocations: 59.91 kB / 0.9997 GB, free: 2.695 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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.0005692/0.802, allocations: 336.3 kB / 1 GB, free: 2.359 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.8022, allocations: 147.2 kB / 1 GB, free: 2.215 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004016/0.8062, allocations: 1.449 MB / 1.002 GB, free: 0.7617 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.8063, allocations: 11.98 kB / 1.002 GB, free: 0.75 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.8063, allocations: 4 kB / 1.002 GB, free: 0.7461 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.8063, allocations: 3.984 kB / 1.002 GB, free: 0.7422 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005951/0.8122, allocations: 2.862 MB / 1.004 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.8123, allocations: 4.5 kB / 1.004 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001248/0.8135, allocations: 219.7 kB / 1.005 GB, free: 13.56 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-05/0.8135, allocations: 8 kB / 1.005 GB, free: 13.55 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.554e-05/0.8136, allocations: 31.97 kB / 1.005 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-05/0.8137, allocations: 15.92 kB / 1.005 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.8137, allocations: 4 kB / 1.005 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005715/0.8194, allocations: 2.311 MB / 1.007 GB, free: 11.12 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000568/0.82, allocations: 311.9 kB / 1.007 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000177/0.8202, allocations: 23.98 kB / 1.007 GB, free: 10.78 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001071/0.8212, allocations: 115.8 kB / 1.007 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/0.8214, allocations: 60.42 kB / 1.007 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.341e-05/0.8215, allocations: 36.06 kB / 1.007 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001103/0.8226, allocations: 0.8723 MB / 1.008 GB, free: 9.695 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8226, allocations: 4 kB / 1.008 GB, free: 9.691 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009553/0.8235, allocations: 319.7 kB / 1.009 GB, free: 9.379 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.007675/0.8312, allocations: 3.306 MB / 1.012 GB, free: 6.168 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003721/0.835, allocations: 1.312 MB / 1.013 GB, free: 4.859 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.835, allocations: 4 kB / 1.013 GB, free: 4.855 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001876/0.8369, allocations: 0.656 MB / 1.014 GB, free: 4.199 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00269/0.8396, allocations: 0.6228 MB / 1.014 GB, free: 3.586 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02025/0.8598, allocations: 11.14 MB / 1.025 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008265/0.8607, allocations: 1.181 MB / 1.026 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001277/0.862, allocations: 350.2 kB / 1.027 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007919/0.8628, allocations: 0.4914 MB / 1.027 GB, free: 6 MB / 0.7794 GB Notification: Performance of SimCode: time 7.11e-07/0.8628, allocations: 0 / 1.027 GB, free: 6 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07035/0.9332, allocations: 35.02 MB / 1.061 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/11.41, allocations: 13.73 kB / 1.061 GB, free: 3.461 MB / 0.8106 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly_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_TSetOnly.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)