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.006468/0.006468, allocations: 97.34 kB / 15.73 MB, free: 6.055 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.001359/0.00136, allocations: 194.9 kB / 16.68 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.435/1.435, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.857/0.857, allocations: 132.2 MB / 422.7 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001824/0.001824, allocations: 68.23 kB / 0.5809 GB, free: 24.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1759/0.1777, allocations: 80.2 MB / 0.6592 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.6571/0.8349, allocations: 193.8 MB / 0.8485 GB, free: 0.5742 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01012/0.845, allocations: 5.141 MB / 0.8535 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.8469, allocations: 51.28 kB / 0.8536 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00231/0.8492, allocations: 0.8071 MB / 0.8544 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.008252/0.8576, allocations: 2.602 MB / 0.8569 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003743/0.8614, allocations: 1.114 MB / 0.858 GB, free: 8.996 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004852/0.8662, allocations: 2.678 MB / 0.8606 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002066/0.8683, allocations: 0.9428 MB / 0.8615 GB, free: 6.883 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003079/0.8714, allocations: 1.115 MB / 0.8626 GB, free: 5.867 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002247/0.8737, allocations: 0.9807 MB / 0.8636 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002046/0.8739, allocations: 88 kB / 0.8636 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005123/0.879, allocations: 1.8 MB / 0.8654 GB, free: 2.992 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005855/0.8796, allocations: 446.6 kB / 0.8658 GB, free: 2.555 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009949/0.8806, allocations: 0.6566 MB / 0.8665 GB, free: 1.895 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004641/0.8853, allocations: 2.244 MB / 0.8687 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8853, allocations: 0 / 0.8687 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.355e-06/0.8853, allocations: 3.938 kB / 0.8687 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.123e-05/0.8853, allocations: 0 / 0.8687 GB, free: 15.64 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.005512/0.8909, allocations: 2.013 MB / 0.8706 GB, free: 13.56 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.8909, allocations: 8.031 kB / 0.8706 GB, free: 13.55 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000188/0.8911, allocations: 143.6 kB / 0.8708 GB, free: 13.41 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005623/0.8967, allocations: 0.9002 MB / 0.8717 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/0.8987, allocations: 0.9811 MB / 0.8726 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.878e-05/0.8988, allocations: 69.94 kB / 0.8727 GB, free: 11.4 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/0.899, allocations: 99.98 kB / 0.8728 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004085/0.9031, allocations: 1.579 MB / 0.8743 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.534e-05/0.9032, allocations: 0 / 0.8743 GB, free: 9.691 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.9033, allocations: 36 kB / 0.8744 GB, free: 9.656 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.075e-05/0.9034, allocations: 49.98 kB / 0.8744 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005475/0.9089, allocations: 1.848 MB / 0.8762 GB, free: 7.758 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.00817/0.9171, allocations: 4.739 MB / 0.8808 GB, free: 2.781 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004738/0.9218, allocations: 1.577 MB / 0.8824 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002466/0.9243, allocations: 0.8557 MB / 0.8832 GB, free: 352 kB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001456/0.9258, allocations: 0.9335 MB / 0.8841 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002654/0.9284, allocations: 0.9188 MB / 0.885 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=95): time 3.687e-06/0.9285, allocations: 0 / 0.885 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95): time 0.00829/0.9368, allocations: 2.455 MB / 0.8874 GB, free: 11.83 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.717e-05/0.9369, allocations: 72.41 kB / 0.8875 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001734/0.9386, allocations: 1.193 MB / 0.8886 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.000142/0.9388, allocations: 45.7 kB / 0.8887 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005991/0.9394, allocations: 0.5454 MB / 0.8892 GB, free: 9.941 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003737/0.9398, allocations: 341.1 kB / 0.8896 GB, free: 9.605 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003827/0.9402, allocations: 190.6 kB / 0.8897 GB, free: 9.414 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.9403, allocations: 341.9 kB / 0.8901 GB, free: 9.074 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002335/0.9427, allocations: 0.7083 MB / 0.8908 GB, free: 8.367 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002616/0.9453, allocations: 0.9152 MB / 0.8916 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004696/0.95, allocations: 1.546 MB / 0.8932 GB, free: 5.781 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.378e-06/0.9501, allocations: 4 kB / 0.8932 GB, free: 5.777 MB / 0.6544 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005733/0.9558, allocations: 1.788 MB / 0.8949 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.595e-05/0.9559, allocations: 4 kB / 0.8949 GB, free: 3.973 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/0.9559, allocations: 4 kB / 0.8949 GB, free: 3.969 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.884e-05/0.9559, allocations: 12 kB / 0.8949 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001798/0.9577, allocations: 332 kB / 0.8952 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.084e-05/0.9578, allocations: 15.94 kB / 0.8953 GB, free: 3.617 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001704/0.9595, allocations: 243 kB / 0.8955 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.9596, allocations: 48.84 kB / 0.8955 GB, free: 3.332 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.0006398/0.9603, allocations: 334 kB / 0.8959 GB, free: 3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002539/0.9605, allocations: 143 kB / 0.896 GB, free: 2.859 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00546/0.966, allocations: 1.818 MB / 0.8978 GB, free: 1.039 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/0.966, allocations: 8 kB / 0.8978 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.966, allocations: 0 / 0.8978 GB, free: 1.031 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.9661, allocations: 7.922 kB / 0.8978 GB, free: 1.023 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007997/0.9741, allocations: 3.324 MB / 0.901 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/0.9741, allocations: 4 kB / 0.901 GB, free: 13.59 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/0.9758, allocations: 288.1 kB / 0.9013 GB, free: 13.31 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.641e-05/0.9759, allocations: 8 kB / 0.9013 GB, free: 13.3 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/0.976, allocations: 43.95 kB / 0.9014 GB, free: 13.26 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.43e-05/0.976, allocations: 11.94 kB / 0.9014 GB, free: 13.25 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.241e-06/0.976, allocations: 4 kB / 0.9014 GB, free: 13.24 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008141/0.9842, allocations: 2.852 MB / 0.9042 GB, free: 10.33 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008042/0.985, allocations: 327.9 kB / 0.9045 GB, free: 9.988 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001928/0.9852, allocations: 24 kB / 0.9045 GB, free: 9.965 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001387/0.9866, allocations: 159.8 kB / 0.9046 GB, free: 9.809 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/0.9868, allocations: 68.45 kB / 0.9047 GB, free: 9.742 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/0.9869, allocations: 43.97 kB / 0.9047 GB, free: 9.699 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001211/0.9882, allocations: 0.8431 MB / 0.9056 GB, free: 8.852 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9882, allocations: 0 / 0.9056 GB, free: 8.852 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001097/0.9893, allocations: 335.7 kB / 0.9059 GB, free: 8.523 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.01053/0.9998, allocations: 3.832 MB / 0.9096 GB, free: 4.82 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00547/1.005, allocations: 1.638 MB / 0.9112 GB, free: 3.176 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 8.616e-06/1.005, allocations: 0 / 0.9112 GB, free: 3.176 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002642/1.008, allocations: 0.8438 MB / 0.9121 GB, free: 2.332 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003041/1.011, allocations: 0.6145 MB / 0.9127 GB, free: 1.75 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02658/1.038, allocations: 12.09 MB / 0.9245 GB, free: 5.328 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009611/1.039, allocations: 1.183 MB / 0.9256 GB, free: 4.117 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00145/1.04, allocations: 366 kB / 0.926 GB, free: 3.758 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000855/1.041, allocations: 0.4993 MB / 0.9265 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of SimCode: time 7.91e-07/1.041, allocations: 0 / 0.9265 GB, free: 3.258 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07773/1.119, allocations: 35.66 MB / 0.9613 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/12.14, allocations: 2.5 kB / 0.9613 GB, free: 15.88 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)