Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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_TSetOnly,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="IDEAS_dev_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.0008171/0.0008171, allocations: 91.92 kB / 15.06 MB, free: 1.098 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.0009107/0.0009108, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.415/1.415, allocations: 223.3 MB / 240 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.01/1.01, allocations: 135.3 MB / 426.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003486/0.0003486, allocations: 12.22 kB / 0.5071 GB, free: 5.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1801, allocations: 82.31 MB / 0.5875 GB, free: 2.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.5662/0.7464, allocations: 176.3 MB / 0.7596 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009242/0.7557, allocations: 4.884 MB / 0.7644 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001592/0.7573, allocations: 43.69 kB / 0.7645 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001841/0.7592, allocations: 0.618 MB / 0.7651 GB, free: 7.016 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005888/0.7651, allocations: 1.89 MB / 0.7669 GB, free: 5.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002761/0.7679, allocations: 0.908 MB / 0.7678 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004577/0.7725, allocations: 2.999 MB / 0.7707 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.7738, allocations: 0.7312 MB / 0.7714 GB, free: 484 kB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002021/0.7758, allocations: 0.9843 MB / 0.7724 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001286/0.7771, allocations: 0.9262 MB / 0.7733 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001184/0.7772, allocations: 44 kB / 0.7733 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002626/0.7799, allocations: 0.9392 MB / 0.7743 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004289/0.7803, allocations: 398.7 kB / 0.7746 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0003829/0.7807, allocations: 265 kB / 0.7749 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00183/0.7826, allocations: 1.352 MB / 0.7762 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.7826, allocations: 0 / 0.7762 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.934e-06/0.7826, allocations: 0 / 0.7762 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.391e-05/0.7826, allocations: 0 / 0.7762 GB, free: 11.56 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.004443/0.7871, allocations: 1.688 MB / 0.7779 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.827e-05/0.7871, allocations: 8.031 kB / 0.7779 GB, free: 9.809 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001942/0.7873, allocations: 147.4 kB / 0.778 GB, free: 9.656 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003947/0.7913, allocations: 0.759 MB / 0.7788 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001472/0.7928, allocations: 0.8367 MB / 0.7796 GB, free: 8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.239e-05/0.7928, allocations: 73.97 kB / 0.7796 GB, free: 7.93 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.793, allocations: 84 kB / 0.7797 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003038/0.796, allocations: 1.476 MB / 0.7812 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.313e-05/0.7961, allocations: 0.5 kB / 0.7812 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.683e-05/0.7962, allocations: 32 kB / 0.7812 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.02e-05/0.7963, allocations: 61.88 kB / 0.7813 GB, free: 6.223 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003835/0.8001, allocations: 1.569 MB / 0.7828 GB, free: 4.648 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.006885/0.807, allocations: 5.055 MB / 0.7877 GB, free: 15.34 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003152/0.8102, allocations: 1.237 MB / 0.7889 GB, free: 14.1 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001572/0.8118, allocations: 0.6664 MB / 0.7896 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/0.8131, allocations: 0.9605 MB / 0.7905 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001734/0.8149, allocations: 0.7372 MB / 0.7912 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=82): time 2.725e-06/0.8149, allocations: 0 / 0.7912 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=82): time 0.005569/0.8205, allocations: 1.983 MB / 0.7932 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/0.8205, allocations: 60.06 kB / 0.7932 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001621/0.8222, allocations: 1.259 MB / 0.7945 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 9.047e-05/0.8223, allocations: 41.7 kB / 0.7945 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005098/0.8228, allocations: 0.5677 MB / 0.7951 GB, free: 7.59 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002823/0.8231, allocations: 291.9 kB / 0.7953 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.8231, allocations: 16 kB / 0.7953 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.8233, allocations: 345.9 kB / 0.7957 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.8248, allocations: 0.5562 MB / 0.7962 GB, free: 6.387 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001689/0.8265, allocations: 0.8247 MB / 0.797 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.828, allocations: 0.6041 MB / 0.7976 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.331e-06/0.828, allocations: 0 / 0.7976 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003754/0.8318, allocations: 1.541 MB / 0.7991 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.8318, allocations: 8.812 kB / 0.7991 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/0.8319, allocations: 8 kB / 0.7991 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.5e-05/0.8319, allocations: 16 kB / 0.7992 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001336/0.8332, allocations: 295.6 kB / 0.7994 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.454e-05/0.8333, allocations: 15.94 kB / 0.7995 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001438/0.8347, allocations: 226.7 kB / 0.7997 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.8349, allocations: 43.98 kB / 0.7997 GB, free: 2.707 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.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.000617/0.8355, allocations: 340.2 kB / 0.8 GB, free: 2.367 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002849/0.8358, allocations: 138.3 kB / 0.8002 GB, free: 2.23 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003873/0.8397, allocations: 1.468 MB / 0.8016 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.627e-06/0.8397, allocations: 8 kB / 0.8016 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.016e-06/0.8397, allocations: 4 kB / 0.8016 GB, free: 0.7383 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.294e-05/0.8397, allocations: 8.016 kB / 0.8016 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00626/0.846, allocations: 2.876 MB / 0.8044 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.846, allocations: 4 kB / 0.8044 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001264/0.8473, allocations: 236.2 kB / 0.8047 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.812e-05/0.8474, allocations: 8 kB / 0.8047 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.653e-05/0.8475, allocations: 30.09 kB / 0.8047 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-05/0.8475, allocations: 11.94 kB / 0.8047 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.8475, allocations: 4 kB / 0.8047 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005477/0.853, allocations: 2.334 MB / 0.807 GB, free: 11.07 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000794/0.8538, allocations: 319.1 kB / 0.8073 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003213/0.8541, allocations: 24 kB / 0.8073 GB, free: 10.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/0.8554, allocations: 131.9 kB / 0.8074 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000149/0.8555, allocations: 60.44 kB / 0.8075 GB, free: 10.53 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.704e-05/0.8556, allocations: 35.97 kB / 0.8075 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.00141/0.857, allocations: 0.8645 MB / 0.8084 GB, free: 9.625 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.854e-06/0.857, allocations: 4 kB / 0.8084 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001303/0.8584, allocations: 319.6 kB / 0.8087 GB, free: 9.309 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (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 (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.007098/0.8655, allocations: 3.315 MB / 0.8119 GB, free: 6.125 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003541/0.869, allocations: 1.327 MB / 0.8132 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.8691, allocations: 0 / 0.8132 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001694/0.8708, allocations: 0.6677 MB / 0.8139 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003176/0.8739, allocations: 0.6042 MB / 0.8145 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/0.8921, allocations: 8.787 MB / 0.823 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.8931, allocations: 1.171 MB / 0.8242 GB, free: 9.086 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001736/0.8949, allocations: 350.2 kB / 0.8245 GB, free: 8.742 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008597/0.8958, allocations: 499.2 kB / 0.825 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of SimCode: time 8.62e-07/0.8958, allocations: 0 / 0.825 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0678/0.9636, allocations: 33.16 MB / 0.8574 GB, free: 7.52 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001806/0.9638, allocations: 240.9 kB / 0.8576 GB, free: 7.273 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.613/3.577, allocations: 0 / 0.8576 GB, free: 7.273 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) Environment - environmentSimulation: