Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_IDEAS_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.006053/0.006053, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001328/0.001328, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.36/1.36, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8214/0.8214, allocations: 132.2 MB / 422.7 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.001261, allocations: 66.67 kB / 0.5809 GB, free: 24 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.162, allocations: 80.2 MB / 0.6592 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6608/0.8228, allocations: 193.8 MB / 0.8485 GB, free: 0.582 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01013/0.833, allocations: 5.139 MB / 0.8535 GB, free: 12.41 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001777/0.8348, allocations: 48.97 kB / 0.8536 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002422/0.8373, allocations: 0.8284 MB / 0.8544 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007486/0.8448, allocations: 2.687 MB / 0.857 GB, free: 9.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003044/0.8478, allocations: 1.117 MB / 0.8581 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004051/0.8519, allocations: 2.692 MB / 0.8607 GB, free: 7.406 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001538/0.8535, allocations: 0.9406 MB / 0.8616 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002436/0.8559, allocations: 1.147 MB / 0.8628 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001461/0.8574, allocations: 0.9923 MB / 0.8637 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001676/0.8576, allocations: 88 kB / 0.8638 GB, free: 4.629 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003654/0.8612, allocations: 1.8 MB / 0.8656 GB, free: 2.824 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004336/0.8617, allocations: 454.6 kB / 0.866 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007112/0.8624, allocations: 0.6643 MB / 0.8666 GB, free: 1.711 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004005/0.8664, allocations: 2.232 MB / 0.8688 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.8665, allocations: 0 / 0.8688 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.036e-06/0.8665, allocations: 0 / 0.8688 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.647e-05/0.8665, allocations: 0 / 0.8688 GB, free: 15.46 MB / 0.6387 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.005551/0.8721, allocations: 2.009 MB / 0.8708 GB, free: 13.4 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.8721, allocations: 15.97 kB / 0.8708 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001919/0.8723, allocations: 139.6 kB / 0.8709 GB, free: 13.24 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005461/0.8778, allocations: 0.9035 MB / 0.8718 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001897/0.8797, allocations: 0.9889 MB / 0.8728 GB, free: 11.29 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.484e-05/0.8798, allocations: 66 kB / 0.8728 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001863/0.88, allocations: 88 kB / 0.8729 GB, free: 11.14 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003914/0.8839, allocations: 1.583 MB / 0.8745 GB, free: 9.527 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.8839, allocations: 7.938 kB / 0.8745 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001151/0.8841, allocations: 32 kB / 0.8745 GB, free: 9.488 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.461e-05/0.8841, allocations: 45.98 kB / 0.8746 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005332/0.8895, allocations: 1.846 MB / 0.8764 GB, free: 7.594 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.008343/0.8978, allocations: 4.747 MB / 0.881 GB, free: 2.609 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004422/0.9023, allocations: 1.57 MB / 0.8825 GB, free: 1.035 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002296/0.9046, allocations: 0.8674 MB / 0.8834 GB, free: 172 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001263/0.9059, allocations: 0.9374 MB / 0.8843 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002478/0.9084, allocations: 0.907 MB / 0.8852 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=95): time 3.246e-06/0.9084, allocations: 0 / 0.8852 GB, free: 14.12 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95): time 0.007852/0.9162, allocations: 2.463 MB / 0.8876 GB, free: 11.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.802e-05/0.9163, allocations: 60.41 kB / 0.8876 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001454/0.9178, allocations: 1.197 MB / 0.8888 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.9179, allocations: 53.69 kB / 0.8889 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004455/0.9184, allocations: 0.5376 MB / 0.8894 GB, free: 9.773 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003895/0.9188, allocations: 353 kB / 0.8897 GB, free: 9.426 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003327/0.9191, allocations: 186.6 kB / 0.8899 GB, free: 9.238 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.9193, allocations: 349.9 kB / 0.8902 GB, free: 8.891 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002227/0.9215, allocations: 0.6927 MB / 0.8909 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002328/0.9239, allocations: 0.9151 MB / 0.8918 GB, free: 7.215 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004471/0.9283, allocations: 1.554 MB / 0.8933 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.323e-06/0.9284, allocations: 0 / 0.8933 GB, free: 5.605 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005594/0.934, allocations: 1.784 MB / 0.8951 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/0.934, allocations: 8 kB / 0.8951 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.934, allocations: 4 kB / 0.8951 GB, free: 3.797 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.355e-05/0.9341, allocations: 8.438 kB / 0.8951 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/0.9359, allocations: 347.4 kB / 0.8954 GB, free: 3.449 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.9359, allocations: 8 kB / 0.8954 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/0.9379, allocations: 247 kB / 0.8957 GB, free: 3.199 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001275/0.938, allocations: 43.98 kB / 0.8957 GB, free: 3.156 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.0008551/0.9389, allocations: 341.2 kB / 0.896 GB, free: 2.816 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003358/0.9392, allocations: 139.1 kB / 0.8962 GB, free: 2.68 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005279/0.9445, allocations: 1.803 MB / 0.8979 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.308e-05/0.9446, allocations: 12 kB / 0.8979 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.9446, allocations: 0.875 kB / 0.8979 GB, free: 0.8594 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.9446, allocations: 3.984 kB / 0.8979 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007668/0.9523, allocations: 3.321 MB / 0.9012 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.9523, allocations: 4 kB / 0.9012 GB, free: 13.43 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001707/0.954, allocations: 296 kB / 0.9015 GB, free: 13.14 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-05/0.9541, allocations: 8 kB / 0.9015 GB, free: 13.13 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.364e-05/0.9542, allocations: 37.03 kB / 0.9015 GB, free: 13.09 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.226e-05/0.9542, allocations: 11.94 kB / 0.9015 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.9542, allocations: 4 kB / 0.9015 GB, free: 13.08 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007674/0.9619, allocations: 2.856 MB / 0.9043 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008831/0.9628, allocations: 331.9 kB / 0.9046 GB, free: 9.816 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000206/0.963, allocations: 23.98 kB / 0.9046 GB, free: 9.793 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001416/0.9644, allocations: 159.8 kB / 0.9048 GB, free: 9.637 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.9646, allocations: 76.45 kB / 0.9049 GB, free: 9.562 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.763e-05/0.9647, allocations: 40.09 kB / 0.9049 GB, free: 9.523 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001045/0.9657, allocations: 0.8353 MB / 0.9057 GB, free: 8.684 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9657, allocations: 0 / 0.9057 GB, free: 8.684 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001068/0.9668, allocations: 343.7 kB / 0.9061 GB, free: 8.348 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.008909/0.9757, allocations: 3.827 MB / 0.9098 GB, free: 4.648 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.004987/0.9808, allocations: 1.638 MB / 0.9114 GB, free: 3.004 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/0.9808, allocations: 0 / 0.9114 GB, free: 3.004 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002455/0.9833, allocations: 0.8398 MB / 0.9122 GB, free: 2.164 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/0.9862, allocations: 0.6207 MB / 0.9128 GB, free: 1.57 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02537/1.012, allocations: 12.08 MB / 0.9246 GB, free: 5.16 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007902/1.012, allocations: 1.187 MB / 0.9258 GB, free: 3.945 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001594/1.014, allocations: 362 kB / 0.9261 GB, free: 3.59 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009157/1.015, allocations: 0.4993 MB / 0.9266 GB, free: 3.09 MB / 0.6856 GB Notification: Performance of SimCode: time 1.343e-06/1.015, allocations: 4 kB / 0.9266 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1597/1.175, allocations: 35.67 MB / 0.9614 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.47/11.64, allocations: 7.188 kB / 0.9615 GB, free: 15.7 MB / 0.7325 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)