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.001303/0.001302, allocations: 99.39 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.001525/0.001525, allocations: 177.3 kB / 15.94 MB, free: 228 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.235/2.235, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.366/1.366, allocations: 132.3 MB / 423.2 MB, free: 2.172 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006641/0.0006643, allocations: 8.531 kB / 0.5033 GB, free: 4.184 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7651/0.7658, allocations: 81.58 MB / 0.583 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.3364/1.102, allocations: 160.8 MB / 0.7399 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01076/1.113, allocations: 5.039 MB / 0.7449 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/1.115, allocations: 39.69 kB / 0.7449 GB, free: 10.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002607/1.117, allocations: 0.7821 MB / 0.7457 GB, free: 9.477 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007872/1.125, allocations: 1.784 MB / 0.7474 GB, free: 7.688 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004609/1.13, allocations: 1.177 MB / 0.7486 GB, free: 6.531 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003957/1.134, allocations: 1.681 MB / 0.7502 GB, free: 4.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001647/1.136, allocations: 0.8206 MB / 0.751 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002651/1.138, allocations: 0.9773 MB / 0.752 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/1.14, allocations: 0.7083 MB / 0.7527 GB, free: 2.324 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001574/1.14, allocations: 48 kB / 0.7527 GB, free: 2.277 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/1.143, allocations: 0.9399 MB / 0.7536 GB, free: 1.336 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004902/1.143, allocations: 382.8 kB / 0.754 GB, free: 0.9609 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004852/1.144, allocations: 268.9 kB / 0.7542 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002338/1.146, allocations: 1.325 MB / 0.7555 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.146, allocations: 0 / 0.7555 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.314e-06/1.146, allocations: 0 / 0.7555 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.81e-05/1.146, allocations: 0 / 0.7555 GB, free: 15.36 MB / 0.5919 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.006934/1.153, allocations: 1.7 MB / 0.7572 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 6.583e-05/1.153, allocations: 12.03 kB / 0.7572 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004636/1.154, allocations: 139.6 kB / 0.7573 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009915/1.164, allocations: 0.9346 MB / 0.7582 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002786/1.167, allocations: 0.8522 MB / 0.7591 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.842e-05/1.167, allocations: 69.98 kB / 0.7591 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002356/1.167, allocations: 95.98 kB / 0.7592 GB, free: 11.44 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004174/1.171, allocations: 1.567 MB / 0.7608 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.376e-05/1.171, allocations: 0 / 0.7608 GB, free: 9.84 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/1.171, allocations: 39.98 kB / 0.7608 GB, free: 9.801 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.787e-05/1.171, allocations: 45.94 kB / 0.7609 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006943/1.178, allocations: 1.838 MB / 0.7626 GB, free: 7.914 MB / 0.5919 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.01052/1.189, allocations: 4.291 MB / 0.7668 GB, free: 3.391 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005098/1.194, allocations: 1.589 MB / 0.7684 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00053/1.195, allocations: 174 kB / 0.7686 GB, free: 1.609 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002773/1.197, allocations: 0.895 MB / 0.7694 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=95): time 3.306e-06/1.197, allocations: 0 / 0.7694 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of matching and sorting (n=95): time 0.008242/1.206, allocations: 2.435 MB / 0.7718 GB, free: 14.27 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/1.206, allocations: 64.41 kB / 0.7719 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/1.208, allocations: 1.189 MB / 0.773 GB, free: 12.99 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001752/1.208, allocations: 45.7 kB / 0.7731 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005241/1.208, allocations: 0.537 MB / 0.7736 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/1.209, allocations: 331.3 kB / 0.7739 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.716e-05/1.209, allocations: 20 kB / 0.7739 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000163/1.209, allocations: 341.9 kB / 0.7743 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002401/1.211, allocations: 0.6928 MB / 0.7749 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002763/1.214, allocations: 0.8879 MB / 0.7758 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003516/1.218, allocations: 0.725 MB / 0.7765 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.51e-05/1.218, allocations: 0 / 0.7765 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.008385/1.226, allocations: 1.752 MB / 0.7782 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.983e-05/1.226, allocations: 8 kB / 0.7782 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.203e-05/1.226, allocations: 4 kB / 0.7782 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.698e-05/1.226, allocations: 8 kB / 0.7782 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00211/1.228, allocations: 347.9 kB / 0.7786 GB, free: 7.219 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.306e-05/1.228, allocations: 12.09 kB / 0.7786 GB, free: 7.207 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002037/1.23, allocations: 258.6 kB / 0.7788 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/1.231, allocations: 51.92 kB / 0.7789 GB, free: 6.902 MB / 0.6075 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.0007547/1.231, allocations: 331.7 kB / 0.7792 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004076/1.232, allocations: 130.4 kB / 0.7793 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008221/1.24, allocations: 1.792 MB / 0.7811 GB, free: 4.641 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.668e-05/1.24, allocations: 8 kB / 0.7811 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.668e-06/1.24, allocations: 0 / 0.7811 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.452e-05/1.24, allocations: 7.984 kB / 0.7811 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008793/1.249, allocations: 3.289 MB / 0.7843 GB, free: 1.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/1.249, allocations: 7.984 kB / 0.7843 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001795/1.251, allocations: 295.9 kB / 0.7846 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.901e-05/1.251, allocations: 11.94 kB / 0.7846 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001032/1.251, allocations: 31.97 kB / 0.7846 GB, free: 0.8984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.327e-05/1.251, allocations: 8 kB / 0.7846 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.217e-06/1.251, allocations: 11.89 kB / 0.7846 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008156/1.259, allocations: 3.021 MB / 0.7876 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001191/1.26, allocations: 335.1 kB / 0.7879 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002432/1.261, allocations: 20 kB / 0.7879 GB, free: 13.35 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001522/1.262, allocations: 171.8 kB / 0.7881 GB, free: 13.18 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/1.262, allocations: 72.45 kB / 0.7882 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.263, allocations: 43.97 kB / 0.7882 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00138/1.264, allocations: 0.8236 MB / 0.789 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.31e-07/1.264, allocations: 0 / 0.789 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001409/1.265, allocations: 343.5 kB / 0.7893 GB, free: 11.91 MB / 0.6231 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.01354/1.279, allocations: 5.055 MB / 0.7943 GB, free: 6.902 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006021/1.285, allocations: 1.603 MB / 0.7958 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.501e-05/1.285, allocations: 0 / 0.7958 GB, free: 5.301 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003822/1.289, allocations: 0.8282 MB / 0.7967 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003575/1.293, allocations: 0.5856 MB / 0.7972 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02341/1.316, allocations: 12.11 MB / 0.809 GB, free: 7.352 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/1.317, allocations: 1.212 MB / 0.8102 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001995/1.319, allocations: 366 kB / 0.8106 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008872/1.32, allocations: 0.4993 MB / 0.8111 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of SimCode: time 1.473e-06/1.32, allocations: 0 / 0.8111 GB, free: 5.25 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5421/1.862, allocations: 33.68 MB / 0.844 GB, free: 206.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001812/1.863, allocations: 212.6 kB / 0.8442 GB, free: 206.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.501/6.363, allocations: 0 / 0.8442 GB, free: 206.5 MB / 0.6387 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) Environment - environmentSimulation: