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.001359/0.001359, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.002092/0.002092, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.4/2.4, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.849/1.849, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005494/0.0005495, allocations: 8.625 kB / 0.5069 GB, free: 5.129 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3027/0.3033, allocations: 82.32 MB / 0.5873 GB, free: 2.988 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.9958/1.299, allocations: 160.7 MB / 0.7443 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01741/1.317, allocations: 5.025 MB / 0.7492 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002898/1.32, allocations: 39.69 kB / 0.7492 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004666/1.324, allocations: 0.7832 MB / 0.75 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01206/1.336, allocations: 1.78 MB / 0.7517 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.007873/1.344, allocations: 1.175 MB / 0.7529 GB, free: 2.898 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006587/1.351, allocations: 1.678 MB / 0.7545 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002543/1.354, allocations: 0.8223 MB / 0.7553 GB, free: 396 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003975/1.358, allocations: 0.9696 MB / 0.7562 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002213/1.36, allocations: 0.7122 MB / 0.7569 GB, free: 14.7 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004312/1.36, allocations: 48 kB / 0.757 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004144/1.365, allocations: 0.9359 MB / 0.7579 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007343/1.365, allocations: 378.8 kB / 0.7583 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007223/1.366, allocations: 265 kB / 0.7585 GB, free: 13.08 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003104/1.369, allocations: 1.339 MB / 0.7598 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/1.369, allocations: 0 / 0.7598 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.984e-06/1.369, allocations: 0 / 0.7598 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.354e-05/1.369, allocations: 0 / 0.7598 GB, free: 11.74 MB / 0.5762 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.006111/1.375, allocations: 1.695 MB / 0.7615 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.687e-05/1.375, allocations: 19.95 kB / 0.7615 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003797/1.376, allocations: 135.6 kB / 0.7616 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006331/1.382, allocations: 0.9306 MB / 0.7625 GB, free: 8.898 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002694/1.385, allocations: 0.8562 MB / 0.7634 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/1.385, allocations: 73.91 kB / 0.7634 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003471/1.385, allocations: 92 kB / 0.7635 GB, free: 7.824 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004589/1.39, allocations: 1.567 MB / 0.7651 GB, free: 6.223 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/1.39, allocations: 3.938 kB / 0.7651 GB, free: 6.219 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001465/1.39, allocations: 39.97 kB / 0.7651 GB, free: 6.18 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.543e-05/1.39, allocations: 49.98 kB / 0.7652 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007602/1.398, allocations: 1.838 MB / 0.7669 GB, free: 4.289 MB / 0.5762 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.01219/1.41, allocations: 4.283 MB / 0.7711 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007916/1.418, allocations: 1.591 MB / 0.7727 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007505/1.419, allocations: 182 kB / 0.7729 GB, free: 14 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004206/1.423, allocations: 0.8996 MB / 0.7737 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 6.843e-06/1.423, allocations: 0 / 0.7737 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.01354/1.437, allocations: 2.427 MB / 0.7761 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.437, allocations: 64.41 kB / 0.7762 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002725/1.44, allocations: 1.181 MB / 0.7773 GB, free: 9.391 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003446/1.44, allocations: 45.7 kB / 0.7774 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007991/1.441, allocations: 0.5447 MB / 0.7779 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005781/1.442, allocations: 327.3 kB / 0.7782 GB, free: 8.465 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001203/1.442, allocations: 20 kB / 0.7782 GB, free: 8.445 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000231/1.442, allocations: 353.8 kB / 0.7786 GB, free: 8.094 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003536/1.445, allocations: 0.6889 MB / 0.7792 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00391/1.449, allocations: 0.888 MB / 0.7801 GB, free: 6.449 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003788/1.453, allocations: 0.7211 MB / 0.7808 GB, free: 5.73 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/1.453, allocations: 4 kB / 0.7808 GB, free: 5.727 MB / 0.5919 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.008796/1.462, allocations: 1.756 MB / 0.7825 GB, free: 3.957 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.993e-05/1.462, allocations: 4 kB / 0.7825 GB, free: 3.953 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/1.462, allocations: 4 kB / 0.7825 GB, free: 3.949 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.518e-05/1.462, allocations: 12 kB / 0.7825 GB, free: 3.938 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003124/1.465, allocations: 340 kB / 0.7829 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.835e-05/1.465, allocations: 11.94 kB / 0.7829 GB, free: 3.594 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003121/1.469, allocations: 259.2 kB / 0.7831 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000293/1.469, allocations: 47.97 kB / 0.7832 GB, free: 3.293 MB / 0.5919 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 ($whenCondition3,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001117/1.47, allocations: 339.7 kB / 0.7835 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000542/1.471, allocations: 134.4 kB / 0.7836 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009118/1.48, allocations: 1.792 MB / 0.7854 GB, free: 1.023 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.824e-05/1.48, allocations: 8 kB / 0.7854 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.538e-05/1.48, allocations: 0 / 0.7854 GB, free: 1.016 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.487e-05/1.48, allocations: 7.984 kB / 0.7854 GB, free: 1.008 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01315/1.493, allocations: 3.302 MB / 0.7886 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-05/1.493, allocations: 7.938 kB / 0.7886 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002591/1.496, allocations: 288.2 kB / 0.7889 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.612e-05/1.496, allocations: 11.94 kB / 0.7889 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000181/1.496, allocations: 31.97 kB / 0.7889 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.917e-05/1.496, allocations: 11.94 kB / 0.789 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.646e-06/1.496, allocations: 4 kB / 0.789 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01193/1.508, allocations: 3.025 MB / 0.7919 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001311/1.509, allocations: 327.1 kB / 0.7922 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003259/1.51, allocations: 28 kB / 0.7922 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002185/1.512, allocations: 171.8 kB / 0.7924 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002306/1.512, allocations: 72.45 kB / 0.7925 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001608/1.512, allocations: 35.97 kB / 0.7925 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001778/1.514, allocations: 0.8275 MB / 0.7933 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of sort global known variables: time 4.01e-07/1.514, allocations: 0 / 0.7933 GB, free: 8.625 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001295/1.515, allocations: 343.5 kB / 0.7937 GB, free: 8.289 MB / 0.6075 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0104/1.526, allocations: 5.065 MB / 0.7986 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00569/1.532, allocations: 1.599 MB / 0.8002 GB, free: 1.695 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.297e-05/1.532, allocations: 4.25 kB / 0.8002 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.003502/1.535, allocations: 0.8241 MB / 0.801 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004322/1.539, allocations: 0.5809 MB / 0.8015 GB, free: 288 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03108/1.571, allocations: 12.12 MB / 0.8134 GB, free: 3.723 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00124/1.572, allocations: 1.215 MB / 0.8146 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002799/1.575, allocations: 362 kB / 0.8149 GB, free: 2.121 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001329/1.576, allocations: 0.4953 MB / 0.8154 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of SimCode: time 1.433e-06/1.576, allocations: 0 / 0.8154 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1515/1.728, allocations: 33.67 MB / 0.8483 GB, free: 368 kB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003919/1.728, allocations: 227.3 kB / 0.8485 GB, free: 116 kB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.914/6.643, allocations: 7.938 kB / 0.8485 GB, free: 108 kB / 0.6544 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) Environment - environmentSimulation: