Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="BuildingSystems_BuildingSystems_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.001245/0.001245, 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.001289/0.001289, allocations: 192.7 kB / 16.53 MB, free: 6.391 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002661/0.002661, allocations: 294.7 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.053/1.053, allocations: 178.6 MB / 0.5073 GB, free: 4.559 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 96.7 kB / 0.6065 GB, free: 24.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1739, allocations: 89.14 MB / 0.6936 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5523/0.7263, allocations: 193.8 MB / 0.8829 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009298/0.7356, allocations: 5.159 MB / 0.8879 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001342/0.737, allocations: 47.69 kB / 0.8879 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001947/0.7389, allocations: 0.8095 MB / 0.8887 GB, free: 3.562 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007117/0.7461, allocations: 2.603 MB / 0.8913 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.00328/0.7494, allocations: 1.111 MB / 0.8924 GB, free: 15.91 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004082/0.7535, allocations: 2.672 MB / 0.895 GB, free: 13.23 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001509/0.755, allocations: 0.9406 MB / 0.8959 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002131/0.7572, allocations: 1.105 MB / 0.897 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001401/0.7586, allocations: 0.9845 MB / 0.8979 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.7588, allocations: 88 kB / 0.898 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003604/0.7624, allocations: 1.789 MB / 0.8998 GB, free: 8.297 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005153/0.7629, allocations: 446.6 kB / 0.9002 GB, free: 7.859 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0008728/0.7638, allocations: 0.672 MB / 0.9008 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003632/0.7674, allocations: 2.173 MB / 0.903 GB, free: 5.004 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.7675, allocations: 4 kB / 0.903 GB, free: 5 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7675, allocations: 0 / 0.903 GB, free: 5 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.464e-05/0.7675, allocations: 0 / 0.903 GB, free: 5 MB / 0.6231 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.005233/0.7727, allocations: 1.965 MB / 0.9049 GB, free: 2.977 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.7728, allocations: 8.031 kB / 0.9049 GB, free: 2.969 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001801/0.773, allocations: 135.6 kB / 0.905 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005715/0.7787, allocations: 0.8916 MB / 0.9059 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.7804, allocations: 0.906 MB / 0.9068 GB, free: 0.9727 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.074e-05/0.7805, allocations: 69.98 kB / 0.9068 GB, free: 0.9023 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001814/0.7807, allocations: 95.89 kB / 0.9069 GB, free: 0.8086 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003884/0.7846, allocations: 1.587 MB / 0.9085 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/0.7846, allocations: 0.5625 kB / 0.9085 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.7848, allocations: 32 kB / 0.9085 GB, free: 15.16 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.379e-05/0.7848, allocations: 49.98 kB / 0.9086 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005515/0.7904, allocations: 1.846 MB / 0.9104 GB, free: 13.27 MB / 0.6387 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.007942/0.7983, allocations: 4.762 MB / 0.915 GB, free: 8.27 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004643/0.803, allocations: 1.564 MB / 0.9165 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002414/0.8054, allocations: 0.8391 MB / 0.9174 GB, free: 5.855 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00142/0.8068, allocations: 0.9491 MB / 0.9183 GB, free: 4.723 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002645/0.8095, allocations: 0.9195 MB / 0.9192 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=95): time 3.226e-06/0.8095, allocations: 0 / 0.9192 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of matching and sorting (n=95): time 0.008097/0.8176, allocations: 2.454 MB / 0.9216 GB, free: 1.328 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.758e-05/0.8177, allocations: 60.41 kB / 0.9216 GB, free: 1.258 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.8193, allocations: 1.197 MB / 0.9228 GB, free: 52 kB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001382/0.8195, allocations: 49.72 kB / 0.9229 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005024/0.82, allocations: 0.537 MB / 0.9234 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.000342/0.8203, allocations: 335.2 kB / 0.9237 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003516/0.8207, allocations: 182.6 kB / 0.9239 GB, free: 14.94 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.8208, allocations: 349.9 kB / 0.9242 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00228/0.8231, allocations: 0.6927 MB / 0.9249 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002464/0.8256, allocations: 0.9035 MB / 0.9258 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00457/0.8302, allocations: 1.56 MB / 0.9273 GB, free: 11.31 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.8302, allocations: 7.938 kB / 0.9273 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005336/0.8356, allocations: 1.776 MB / 0.929 GB, free: 9.52 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.8356, allocations: 11.98 kB / 0.929 GB, free: 9.508 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.8356, allocations: 8 kB / 0.9291 GB, free: 9.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.969e-05/0.8356, allocations: 8 kB / 0.9291 GB, free: 9.492 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001833/0.8375, allocations: 335.5 kB / 0.9294 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.986e-05/0.8375, allocations: 13.59 kB / 0.9294 GB, free: 9.152 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.8392, allocations: 246.5 kB / 0.9296 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/0.8393, allocations: 47.97 kB / 0.9297 GB, free: 8.863 MB / 0.6544 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.0006019/0.8399, allocations: 336.9 kB / 0.93 GB, free: 8.527 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002296/0.8401, allocations: 130.4 kB / 0.9301 GB, free: 8.398 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005345/0.8455, allocations: 1.803 MB / 0.9319 GB, free: 6.582 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.882e-05/0.8455, allocations: 19.97 kB / 0.9319 GB, free: 6.562 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8455, allocations: 4 kB / 0.9319 GB, free: 6.559 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.8455, allocations: 3.984 kB / 0.9319 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007645/0.8532, allocations: 3.324 MB / 0.9352 GB, free: 3.125 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.8532, allocations: 5.938 kB / 0.9352 GB, free: 3.121 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001716/0.855, allocations: 287.6 kB / 0.9354 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.27e-05/0.855, allocations: 8 kB / 0.9354 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.37e-05/0.8551, allocations: 31.97 kB / 0.9355 GB, free: 2.801 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.37e-05/0.8551, allocations: 15.92 kB / 0.9355 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.8551, allocations: 4 kB / 0.9355 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007681/0.8628, allocations: 2.847 MB / 0.9383 GB, free: 15.87 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006196/0.8634, allocations: 319.2 kB / 0.9386 GB, free: 15.54 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002006/0.8636, allocations: 24 kB / 0.9386 GB, free: 15.51 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001424/0.8651, allocations: 159.7 kB / 0.9388 GB, free: 15.36 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.8653, allocations: 76.45 kB / 0.9388 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.972e-05/0.8653, allocations: 35.97 kB / 0.9389 GB, free: 15.25 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001068/0.8664, allocations: 0.8315 MB / 0.9397 GB, free: 14.41 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.81e-07/0.8664, allocations: 0 / 0.9397 GB, free: 14.41 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009988/0.8674, allocations: 343.6 kB / 0.94 GB, free: 14.07 MB / 0.67 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.009611/0.8771, allocations: 3.829 MB / 0.9437 GB, free: 10.35 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005518/0.8826, allocations: 1.786 MB / 0.9455 GB, free: 8.562 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.8826, allocations: 0 / 0.9455 GB, free: 8.562 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002495/0.8851, allocations: 0.8438 MB / 0.9463 GB, free: 7.719 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002856/0.888, allocations: 0.6158 MB / 0.9469 GB, free: 7.117 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02632/0.9143, allocations: 12.88 MB / 0.9595 GB, free: 9.68 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009998/0.9154, allocations: 1.183 MB / 0.9606 GB, free: 8.465 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001683/0.9171, allocations: 362 kB / 0.961 GB, free: 8.109 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000863/0.9179, allocations: 0.5032 MB / 0.9615 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of SimCode: time 7.62e-07/0.918, allocations: 0 / 0.9615 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07284/0.9908, allocations: 35.34 MB / 0.996 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.44/9.431, allocations: 8.109 kB / 0.996 GB, free: 4.73 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)