Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.001423/0.001423, allocations: 99.31 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.001565/0.001566, 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.257/2.257, allocations: 223.2 MB / 239.9 MB, free: 5.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.142/1.142, allocations: 132.2 MB / 423.2 MB, free: 2.242 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004514/0.0004515, allocations: 12 kB / 0.5033 GB, free: 4.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7613/0.7618, allocations: 81.57 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.3372/1.099, allocations: 160.8 MB / 0.74 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01492/1.114, allocations: 5.026 MB / 0.7449 GB, free: 10.42 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002204/1.116, allocations: 43.62 kB / 0.7449 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003391/1.12, allocations: 0.7743 MB / 0.7457 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009915/1.13, allocations: 1.784 MB / 0.7474 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006334/1.136, allocations: 1.18 MB / 0.7486 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005779/1.142, allocations: 1.622 MB / 0.7502 GB, free: 5.023 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002367/1.144, allocations: 0.7843 MB / 0.7509 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003893/1.148, allocations: 0.9462 MB / 0.7518 GB, free: 3.281 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/1.151, allocations: 0.6888 MB / 0.7525 GB, free: 2.59 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000239/1.151, allocations: 47.94 kB / 0.7526 GB, free: 2.543 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004512/1.155, allocations: 0.9283 MB / 0.7535 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007811/1.156, allocations: 378.8 kB / 0.7538 GB, free: 1.242 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007688/1.157, allocations: 265 kB / 0.7541 GB, free: 0.9766 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00391/1.161, allocations: 1.309 MB / 0.7554 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/1.161, allocations: 0 / 0.7554 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.306e-06/1.161, allocations: 0 / 0.7554 GB, free: 15.66 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.577e-05/1.161, allocations: 0 / 0.7554 GB, free: 15.66 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.008971/1.17, allocations: 1.669 MB / 0.757 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 7.52e-05/1.17, allocations: 12.03 kB / 0.757 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005615/1.171, allocations: 135.5 kB / 0.7571 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007838/1.178, allocations: 0.7473 MB / 0.7579 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003631/1.182, allocations: 0.8522 MB / 0.7587 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000146/1.182, allocations: 66 kB / 0.7588 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000353/1.183, allocations: 91.98 kB / 0.7588 GB, free: 11.97 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005768/1.189, allocations: 1.461 MB / 0.7603 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.221e-05/1.189, allocations: 7.938 kB / 0.7603 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/1.189, allocations: 36 kB / 0.7603 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000107/1.189, allocations: 49.94 kB / 0.7604 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007586/1.197, allocations: 1.577 MB / 0.7619 GB, free: 8.781 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.01198/1.209, allocations: 4.65 MB / 0.7664 GB, free: 3.871 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006071/1.215, allocations: 1.243 MB / 0.7677 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007749/1.216, allocations: 177.6 kB / 0.7678 GB, free: 2.426 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003308/1.219, allocations: 0.7264 MB / 0.7685 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=82): time 5.931e-06/1.219, allocations: 3.938 kB / 0.7685 GB, free: 1.688 MB / 0.5919 GB Notification: Performance of matching and sorting (n=82): time 0.01068/1.23, allocations: 2.014 MB / 0.7705 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.617e-05/1.23, allocations: 60.06 kB / 0.7706 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002844/1.233, allocations: 1.259 MB / 0.7718 GB, free: 14.33 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002728/1.233, allocations: 45.7 kB / 0.7718 GB, free: 14.28 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008066/1.234, allocations: 0.5716 MB / 0.7724 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005346/1.234, allocations: 284.1 kB / 0.7727 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/1.234, allocations: 20 kB / 0.7727 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0002266/1.235, allocations: 341.9 kB / 0.773 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002975/1.238, allocations: 0.5562 MB / 0.7736 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003345/1.241, allocations: 0.8049 MB / 0.7743 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/1.244, allocations: 0.6002 MB / 0.7749 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/1.244, allocations: 0 / 0.7749 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.007388/1.252, allocations: 1.534 MB / 0.7764 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.25e-05/1.252, allocations: 8 kB / 0.7764 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.355e-05/1.252, allocations: 7.938 kB / 0.7764 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.429e-05/1.252, allocations: 12 kB / 0.7765 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/1.254, allocations: 300.1 kB / 0.7767 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.135e-05/1.254, allocations: 19.89 kB / 0.7768 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002711/1.257, allocations: 218.8 kB / 0.777 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002136/1.257, allocations: 47.98 kB / 0.777 GB, free: 8.871 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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 (117): * Single equations (assignments): 117 * 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.001106/1.258, allocations: 339.7 kB / 0.7773 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004945/1.259, allocations: 134.3 kB / 0.7775 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007006/1.266, allocations: 1.479 MB / 0.7789 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-05/1.266, allocations: 8 kB / 0.7789 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.266, allocations: 0 / 0.7789 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-05/1.266, allocations: 7.938 kB / 0.7789 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01136/1.277, allocations: 2.898 MB / 0.7818 GB, free: 3.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/1.278, allocations: 4 kB / 0.7818 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002148/1.28, allocations: 228.2 kB / 0.782 GB, free: 3.664 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.432e-05/1.28, allocations: 12 kB / 0.782 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001433/1.28, allocations: 31.92 kB / 0.782 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.035e-05/1.28, allocations: 11.94 kB / 0.782 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.146e-05/1.28, allocations: 8 kB / 0.782 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01053/1.291, allocations: 2.585 MB / 0.7846 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/1.292, allocations: 307.1 kB / 0.7849 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004336/1.292, allocations: 27.98 kB / 0.7849 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002136/1.294, allocations: 127.9 kB / 0.785 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002406/1.295, allocations: 68.39 kB / 0.7851 GB, free: 344 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001487/1.295, allocations: 35.97 kB / 0.7851 GB, free: 308 kB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002/1.297, allocations: 0.8646 MB / 0.7859 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.41e-07/1.297, allocations: 7.875 kB / 0.786 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00208/1.299, allocations: 319.7 kB / 0.7863 GB, free: 15.11 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (82): * Single equations (assignments): 76 * 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.01317/1.312, allocations: 4.685 MB / 0.7908 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.006734/1.319, allocations: 1.323 MB / 0.7921 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.464e-05/1.319, allocations: 4 kB / 0.7921 GB, free: 9.156 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.003278/1.322, allocations: 0.6642 MB / 0.7928 GB, free: 8.488 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005197/1.328, allocations: 0.5822 MB / 0.7933 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03403/1.362, allocations: 12.6 MB / 0.8057 GB, free: 10.83 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001347/1.363, allocations: 1.202 MB / 0.8068 GB, free: 9.602 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003192/1.366, allocations: 358.1 kB / 0.8072 GB, free: 9.25 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001445/1.368, allocations: 491.2 kB / 0.8076 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of SimCode: time 1.413e-06/1.368, allocations: 0 / 0.8076 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5815/1.949, allocations: 33.16 MB / 0.84 GB, free: 208.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003229/1.95, allocations: 222 kB / 0.8402 GB, free: 208.1 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.487/6.437, allocations: 0 / 0.8402 GB, free: 208.1 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) Environment - environmentSimulation: