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.008465/0.008465, allocations: 98.86 kB / 15.73 MB, free: 6.043 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.002019/0.002019, allocations: 202.1 kB / 16.68 MB, free: 5.965 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.431/1.431, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002494/0.002494, allocations: 271.1 kB / 290.8 MB, free: 1.902 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.072/1.072, allocations: 178.6 MB / 0.5074 GB, free: 4.477 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003319/0.003319, allocations: 102.6 kB / 0.6943 GB, free: 3.582 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4954/0.4987, allocations: 89.13 MB / 0.7814 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2495/0.7482, allocations: 193.8 MB / 0.9706 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009379/0.7576, allocations: 5.147 MB / 0.9757 GB, free: 7.633 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00123/0.7589, allocations: 47.69 kB / 0.9757 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001995/0.7609, allocations: 0.812 MB / 0.9765 GB, free: 6.77 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006613/0.7676, allocations: 2.598 MB / 0.979 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002899/0.7705, allocations: 1.114 MB / 0.9801 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.004072/0.7746, allocations: 2.679 MB / 0.9828 GB, free: 376 kB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/0.7764, allocations: 0.9407 MB / 0.9837 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.7788, allocations: 1.105 MB / 0.9847 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001782/0.7806, allocations: 0.9963 MB / 0.9857 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0002279/0.7809, allocations: 84 kB / 0.9858 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003652/0.7846, allocations: 1.793 MB / 0.9876 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005582/0.7851, allocations: 446.6 kB / 0.988 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009396/0.7861, allocations: 0.6643 MB / 0.9886 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.004227/0.7903, allocations: 2.214 MB / 0.9908 GB, free: 8.094 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7904, allocations: 4 kB / 0.9908 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7904, allocations: 0 / 0.9908 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 3.039e-05/0.7904, allocations: 0 / 0.9908 GB, free: 8.09 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005343/0.7957, allocations: 2.006 MB / 0.9928 GB, free: 6.023 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.7958, allocations: 12.03 kB / 0.9928 GB, free: 6.012 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001869/0.796, allocations: 139.5 kB / 0.9929 GB, free: 5.867 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005688/0.8017, allocations: 0.8963 MB / 0.9938 GB, free: 4.969 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.8038, allocations: 0.9888 MB / 0.9947 GB, free: 3.926 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.252e-05/0.8039, allocations: 70 kB / 0.9948 GB, free: 3.855 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001962/0.8041, allocations: 95.89 kB / 0.9949 GB, free: 3.766 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004117/0.8082, allocations: 1.587 MB / 0.9964 GB, free: 2.148 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.8083, allocations: 0 / 0.9964 GB, free: 2.148 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001117/0.8084, allocations: 32 kB / 0.9965 GB, free: 2.117 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.591e-05/0.8085, allocations: 49.98 kB / 0.9965 GB, free: 2.066 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005757/0.8142, allocations: 1.854 MB / 0.9983 GB, free: 220 kB / 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.008475/0.8227, allocations: 4.739 MB / 1.003 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004848/0.8276, allocations: 1.565 MB / 1.004 GB, free: 9.664 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002512/0.8301, allocations: 0.8585 MB / 1.005 GB, free: 8.801 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001481/0.8316, allocations: 0.9452 MB / 1.006 GB, free: 7.672 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002708/0.8344, allocations: 0.9105 MB / 1.007 GB, free: 6.75 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=95): time 3.807e-06/0.8344, allocations: 0 / 1.007 GB, free: 6.75 MB / 0.7637 GB Notification: Performance of matching and sorting (n=95): time 0.00841/0.8428, allocations: 2.459 MB / 1.01 GB, free: 4.281 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.913e-05/0.8429, allocations: 60.41 kB / 1.01 GB, free: 4.211 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/0.8446, allocations: 1.201 MB / 1.011 GB, free: 3 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001836/0.8448, allocations: 49.69 kB / 1.011 GB, free: 2.945 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005486/0.8454, allocations: 0.5454 MB / 1.011 GB, free: 2.395 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003935/0.8458, allocations: 349 kB / 1.012 GB, free: 2.051 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003646/0.8461, allocations: 186.6 kB / 1.012 GB, free: 1.863 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001801/0.8463, allocations: 341.9 kB / 1.012 GB, free: 1.523 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002458/0.8488, allocations: 0.7005 MB / 1.013 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002622/0.8514, allocations: 0.9074 MB / 1.014 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004806/0.8563, allocations: 1.561 MB / 1.015 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.812e-06/0.8563, allocations: 0 / 1.015 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0056/0.8619, allocations: 1.781 MB / 1.017 GB, free: 12.44 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.862, allocations: 8 kB / 1.017 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.862, allocations: 4 kB / 1.017 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.862, allocations: 8 kB / 1.017 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.8639, allocations: 347.7 kB / 1.017 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.428e-05/0.8639, allocations: 8 kB / 1.017 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001723/0.8657, allocations: 239 kB / 1.018 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.8658, allocations: 43.98 kB / 1.018 GB, free: 11.8 MB / 0.7794 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.0006314/0.8665, allocations: 344.2 kB / 1.018 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.8668, allocations: 143.1 kB / 1.018 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005726/0.8725, allocations: 1.811 MB / 1.02 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.353e-05/0.8726, allocations: 8 kB / 1.02 GB, free: 9.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.8726, allocations: 4 kB / 1.02 GB, free: 9.477 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.667e-05/0.8726, allocations: 3.984 kB / 1.02 GB, free: 9.473 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008377/0.881, allocations: 3.328 MB / 1.023 GB, free: 6.043 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/0.881, allocations: 4 kB / 1.023 GB, free: 6.039 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/0.8828, allocations: 295.9 kB / 1.023 GB, free: 5.75 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.518e-05/0.8828, allocations: 8 kB / 1.023 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001422/0.883, allocations: 31.97 kB / 1.023 GB, free: 5.711 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.166e-05/0.883, allocations: 8 kB / 1.023 GB, free: 5.703 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.893e-06/0.883, allocations: 11.94 kB / 1.023 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008202/0.8912, allocations: 2.852 MB / 1.026 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000755/0.892, allocations: 327.9 kB / 1.027 GB, free: 2.438 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002289/0.8923, allocations: 27.98 kB / 1.027 GB, free: 2.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001541/0.8938, allocations: 155.8 kB / 1.027 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.894, allocations: 68.45 kB / 1.027 GB, free: 2.191 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/0.8941, allocations: 39.97 kB / 1.027 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001166/0.8953, allocations: 0.8353 MB / 1.028 GB, free: 1.312 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8953, allocations: 4 kB / 1.028 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001105/0.8964, allocations: 339.7 kB / 1.028 GB, free: 0.9766 MB / 0.7794 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.01044/0.9069, allocations: 3.838 MB / 1.032 GB, free: 13.23 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00555/0.9125, allocations: 1.634 MB / 1.033 GB, free: 11.6 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.995e-06/0.9125, allocations: 0 / 1.033 GB, free: 11.6 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00275/0.9153, allocations: 0.8322 MB / 1.034 GB, free: 10.76 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003156/0.9184, allocations: 0.6185 MB / 1.035 GB, free: 10.16 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02731/0.9458, allocations: 12.09 MB / 1.047 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009284/0.9468, allocations: 1.189 MB / 1.048 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001548/0.9483, allocations: 362 kB / 1.048 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009036/0.9493, allocations: 0.4993 MB / 1.049 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of SimCode: time 8.42e-07/0.9493, allocations: 0 / 1.049 GB, free: 11.66 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4294/1.379, allocations: 35.7 MB / 1.083 GB, free: 270.4 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/11.88, allocations: 7.906 kB / 1.083 GB, free: 270.4 MB / 0.8262 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)