Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="IDEAS_dev_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.007585/0.007585, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001723/0.001723, allocations: 193.5 kB / 16.67 MB, free: 5.93 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-master/package.mo): time 0.8234/0.8234, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 66.5 kB / 0.5852 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.1608, allocations: 80.91 MB / 0.6642 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5864/0.7472, allocations: 193.8 MB / 0.8535 GB, free: 10.88 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009684/0.757, allocations: 5.146 MB / 0.8585 GB, free: 6.707 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001796/0.7588, allocations: 45.22 kB / 0.8585 GB, free: 6.688 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002278/0.7612, allocations: 0.8286 MB / 0.8593 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007113/0.7683, allocations: 2.692 MB / 0.862 GB, free: 4.07 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.003124/0.7714, allocations: 1.121 MB / 0.8631 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003754/0.7752, allocations: 2.687 MB / 0.8657 GB, free: 1.121 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001678/0.7769, allocations: 0.944 MB / 0.8666 GB, free: 172 kB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002381/0.7793, allocations: 1.148 MB / 0.8677 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001662/0.781, allocations: 0.9885 MB / 0.8687 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003131/0.7813, allocations: 88 kB / 0.8688 GB, free: 13.94 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003802/0.7851, allocations: 1.8 MB / 0.8705 GB, free: 12.13 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.00065/0.7858, allocations: 450.6 kB / 0.871 GB, free: 11.69 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001149/0.787, allocations: 0.6605 MB / 0.8716 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.00434/0.7913, allocations: 2.236 MB / 0.8738 GB, free: 8.785 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7913, allocations: 4 kB / 0.8738 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.475e-06/0.7913, allocations: 0 / 0.8738 GB, free: 8.781 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.145e-05/0.7914, allocations: 0 / 0.8738 GB, free: 8.781 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.005947/0.7974, allocations: 2.013 MB / 0.8758 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7974, allocations: 13.11 kB / 0.8758 GB, free: 6.695 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000241/0.7977, allocations: 139.6 kB / 0.8759 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005674/0.8033, allocations: 0.9002 MB / 0.8768 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002015/0.8054, allocations: 0.9888 MB / 0.8778 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.61e-05/0.8055, allocations: 66 kB / 0.8778 GB, free: 4.539 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002372/0.8057, allocations: 88 kB / 0.8779 GB, free: 4.453 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003995/0.8097, allocations: 1.591 MB / 0.8795 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.8098, allocations: 0 / 0.8795 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001462/0.8099, allocations: 32 kB / 0.8795 GB, free: 2.801 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.1e-05/0.81, allocations: 45.98 kB / 0.8795 GB, free: 2.754 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00551/0.8155, allocations: 1.854 MB / 0.8813 GB, free: 0.8984 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.008546/0.8241, allocations: 4.743 MB / 0.886 GB, free: 11.92 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004506/0.8286, allocations: 1.565 MB / 0.8875 GB, free: 10.35 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002352/0.831, allocations: 0.8663 MB / 0.8883 GB, free: 9.484 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001323/0.8323, allocations: 0.9413 MB / 0.8893 GB, free: 8.359 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002586/0.8349, allocations: 0.9105 MB / 0.8902 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=95): time 4.107e-06/0.8349, allocations: 0 / 0.8902 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of matching and sorting (n=95): time 0.007975/0.8429, allocations: 2.455 MB / 0.8925 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.843, allocations: 68.34 kB / 0.8926 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001635/0.8447, allocations: 1.201 MB / 0.8938 GB, free: 3.684 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001619/0.8448, allocations: 49.7 kB / 0.8938 GB, free: 3.629 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004512/0.8453, allocations: 0.5376 MB / 0.8944 GB, free: 3.086 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003625/0.8457, allocations: 349.1 kB / 0.8947 GB, free: 2.742 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003807/0.8461, allocations: 182.6 kB / 0.8949 GB, free: 2.555 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.8462, allocations: 345.9 kB / 0.8952 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002207/0.8484, allocations: 0.7005 MB / 0.8959 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002405/0.8508, allocations: 0.9073 MB / 0.8968 GB, free: 0.5391 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004464/0.8553, allocations: 1.565 MB / 0.8983 GB, free: 14.91 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.927e-06/0.8553, allocations: 4 kB / 0.8983 GB, free: 14.91 MB / 0.67 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005177/0.8605, allocations: 1.781 MB / 0.9 GB, free: 13.12 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/0.8606, allocations: 9.719 kB / 0.9 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.558e-05/0.8606, allocations: 4 kB / 0.9001 GB, free: 13.11 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.614e-05/0.8606, allocations: 8 kB / 0.9001 GB, free: 13.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/0.8624, allocations: 339.9 kB / 0.9004 GB, free: 12.77 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.638e-05/0.8624, allocations: 12.44 kB / 0.9004 GB, free: 12.75 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/0.8642, allocations: 247 kB / 0.9006 GB, free: 12.51 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001286/0.8643, allocations: 47.97 kB / 0.9007 GB, free: 12.46 MB / 0.67 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.0006129/0.8649, allocations: 332.9 kB / 0.901 GB, free: 12.13 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.8653, allocations: 143.1 kB / 0.9011 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005255/0.8705, allocations: 1.812 MB / 0.9029 GB, free: 10.17 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.18e-05/0.8706, allocations: 11.94 kB / 0.9029 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/0.8706, allocations: 0.875 kB / 0.9029 GB, free: 10.16 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.8706, allocations: 7.922 kB / 0.9029 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007854/0.8785, allocations: 3.313 MB / 0.9062 GB, free: 6.73 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.8785, allocations: 4 kB / 0.9062 GB, free: 6.727 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001702/0.8802, allocations: 288.1 kB / 0.9064 GB, free: 6.445 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.791e-05/0.8803, allocations: 8 kB / 0.9064 GB, free: 6.438 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000111/0.8804, allocations: 35.97 kB / 0.9065 GB, free: 6.402 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-05/0.8804, allocations: 15.94 kB / 0.9065 GB, free: 6.387 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/0.8804, allocations: 4 kB / 0.9065 GB, free: 6.383 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007446/0.8879, allocations: 2.856 MB / 0.9093 GB, free: 3.465 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008785/0.8888, allocations: 335.9 kB / 0.9096 GB, free: 3.117 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003549/0.8891, allocations: 20 kB / 0.9096 GB, free: 3.098 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/0.8908, allocations: 159.8 kB / 0.9098 GB, free: 2.941 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001738/0.891, allocations: 76.44 kB / 0.9098 GB, free: 2.867 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/0.8911, allocations: 43.91 kB / 0.9099 GB, free: 2.824 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001281/0.8924, allocations: 0.8315 MB / 0.9107 GB, free: 1.988 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8924, allocations: 0 / 0.9107 GB, free: 1.988 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001166/0.8936, allocations: 339.7 kB / 0.911 GB, free: 1.656 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.008746/0.9023, allocations: 3.836 MB / 0.9148 GB, free: 13.91 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004863/0.9072, allocations: 1.634 MB / 0.9164 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.9072, allocations: 0 / 0.9164 GB, free: 12.28 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002399/0.9097, allocations: 0.8399 MB / 0.9172 GB, free: 11.44 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003018/0.9127, allocations: 0.6096 MB / 0.9178 GB, free: 10.84 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02564/0.9383, allocations: 12.09 MB / 0.9296 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007789/0.9392, allocations: 1.175 MB / 0.9307 GB, free: 13.2 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001409/0.9406, allocations: 370 kB / 0.9311 GB, free: 12.84 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008665/0.9415, allocations: 0.5031 MB / 0.9316 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of SimCode: time 7.51e-07/0.9415, allocations: 0 / 0.9316 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06678/1.008, allocations: 35.66 MB / 0.9664 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.62/11.63, allocations: 9.781 kB / 0.9664 GB, free: 8.988 MB / 0.7325 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)