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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 114.3 kB / 18.94 MB, free: 2.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 217.1 kB / 22.26 MB, free: 5.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.47/1.47, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8572/0.8572, allocations: 134 MB / 446.4 MB, free: 10.63 MB / 350.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002749/0.002749, allocations: 73.41 kB / 0.6186 GB, free: 7.172 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2046, allocations: 85.9 MB / 0.7025 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6809/0.8855, allocations: 197.8 MB / 0.8957 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01178/0.8972, allocations: 5.283 MB / 0.9008 GB, free: 11.39 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001478/0.8987, allocations: 63.38 kB / 0.9009 GB, free: 11.32 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002185/0.9009, allocations: 0.847 MB / 0.9017 GB, free: 10.47 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007284/0.9082, allocations: 2.786 MB / 0.9044 GB, free: 7.676 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002788/0.911, allocations: 1.055 MB / 0.9055 GB, free: 6.625 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003937/0.9149, allocations: 2.657 MB / 0.9081 GB, free: 3.961 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001178/0.9161, allocations: 0.7174 MB / 0.9088 GB, free: 3.23 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00217/0.9183, allocations: 1.144 MB / 0.9099 GB, free: 2.082 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001546/0.9198, allocations: 1.043 MB / 0.9109 GB, free: 1.035 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001528/0.92, allocations: 80 kB / 0.911 GB, free: 0.957 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004123/0.9241, allocations: 1.941 MB / 0.9129 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005162/0.9246, allocations: 458.5 kB / 0.9133 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007302/0.9253, allocations: 0.6642 MB / 0.9139 GB, free: 13.89 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003564/0.9289, allocations: 2.207 MB / 0.9161 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.9289, allocations: 0 / 0.9161 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.314e-06/0.9289, allocations: 0 / 0.9161 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.305e-05/0.9289, allocations: 0 / 0.9161 GB, free: 11.68 MB / 0.6856 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.005001/0.9339, allocations: 1.934 MB / 0.918 GB, free: 9.707 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.934, allocations: 8.031 kB / 0.918 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001857/0.9342, allocations: 139.5 kB / 0.9181 GB, free: 9.555 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004253/0.9384, allocations: 0.713 MB / 0.9188 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002011/0.9404, allocations: 0.89 MB / 0.9197 GB, free: 7.895 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.018e-05/0.9405, allocations: 70 kB / 0.9198 GB, free: 7.828 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.9407, allocations: 91.98 kB / 0.9199 GB, free: 7.738 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003204/0.9439, allocations: 1.461 MB / 0.9213 GB, free: 6.219 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.359e-05/0.9439, allocations: 3.938 kB / 0.9213 GB, free: 6.215 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.944, allocations: 32 kB / 0.9213 GB, free: 6.184 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.805e-05/0.9441, allocations: 53.97 kB / 0.9214 GB, free: 6.133 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004096/0.9482, allocations: 1.557 MB / 0.9229 GB, free: 4.574 MB / 0.6856 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.007154/0.9553, allocations: 4.992 MB / 0.9278 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003325/0.9587, allocations: 1.142 MB / 0.9289 GB, free: 14.17 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001652/0.9603, allocations: 0.6301 MB / 0.9295 GB, free: 13.54 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009716/0.9613, allocations: 204.5 kB / 0.9297 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001846/0.9631, allocations: 0.7224 MB / 0.9304 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=82): time 2.896e-06/0.9631, allocations: 0 / 0.9304 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of matching and sorting (n=82): time 0.005968/0.9691, allocations: 1.964 MB / 0.9323 GB, free: 10.64 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.9691, allocations: 60.06 kB / 0.9324 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001725/0.9709, allocations: 1.308 MB / 0.9336 GB, free: 9.238 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.000101/0.971, allocations: 41.7 kB / 0.9337 GB, free: 9.191 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005355/0.9715, allocations: 0.5882 MB / 0.9343 GB, free: 8.598 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/0.9718, allocations: 289.5 kB / 0.9345 GB, free: 8.312 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003124/0.9721, allocations: 182.6 kB / 0.9347 GB, free: 8.129 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.9723, allocations: 338 kB / 0.935 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.9739, allocations: 0.5523 MB / 0.9356 GB, free: 7.242 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001838/0.9757, allocations: 0.8208 MB / 0.9364 GB, free: 6.312 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003297/0.979, allocations: 1.344 MB / 0.9377 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.979, allocations: 0.6875 kB / 0.9377 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004008/0.983, allocations: 1.52 MB / 0.9392 GB, free: 3.348 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.631e-05/0.983, allocations: 12.03 kB / 0.9392 GB, free: 3.336 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/0.9831, allocations: 11.94 kB / 0.9392 GB, free: 3.324 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.058e-05/0.9831, allocations: 12 kB / 0.9392 GB, free: 3.312 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001412/0.9845, allocations: 291.5 kB / 0.9395 GB, free: 3.027 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.292e-05/0.9845, allocations: 15.94 kB / 0.9395 GB, free: 3.012 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/0.9859, allocations: 210.7 kB / 0.9397 GB, free: 2.809 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.935e-05/0.986, allocations: 55.91 kB / 0.9398 GB, free: 2.754 MB / 0.7012 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 ($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 (117): * Single equations (assignments): 117 * 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.0005971/0.9866, allocations: 339.4 kB / 0.9401 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002233/0.9869, allocations: 143.1 kB / 0.9402 GB, free: 2.273 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003968/0.9908, allocations: 1.485 MB / 0.9417 GB, free: 0.7812 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.318e-06/0.9908, allocations: 8 kB / 0.9417 GB, free: 0.7734 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.797e-06/0.9908, allocations: 3.938 kB / 0.9417 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.9909, allocations: 3.984 kB / 0.9417 GB, free: 0.7656 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006005/0.9969, allocations: 2.876 MB / 0.9445 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.358e-06/0.9969, allocations: 4 kB / 0.9445 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001247/0.9981, allocations: 228.2 kB / 0.9447 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.9981, allocations: 4 kB / 0.9447 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.942e-05/0.9982, allocations: 31.97 kB / 0.9447 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.119e-05/0.9982, allocations: 8 kB / 0.9447 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.236e-06/0.9982, allocations: 11.88 kB / 0.9448 GB, free: 13.51 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005627/1.004, allocations: 2.342 MB / 0.947 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007295/1.005, allocations: 246.7 kB / 0.9473 GB, free: 10.85 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/1.005, allocations: 23.98 kB / 0.9473 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001084/1.006, allocations: 111.9 kB / 0.9474 GB, free: 10.72 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001713/1.006, allocations: 72.42 kB / 0.9475 GB, free: 10.65 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.715e-05/1.006, allocations: 39.97 kB / 0.9475 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001304/1.007, allocations: 0.8926 MB / 0.9484 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of sort global known variables: time 9.1e-08/1.007, allocations: 0 / 0.9484 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001081/1.008, allocations: 315.7 kB / 0.9487 GB, free: 9.406 MB / 0.7169 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 (85): * Single equations (assignments): 79 * 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.007803/1.016, allocations: 3.318 MB / 0.9519 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003767/1.02, allocations: 1.272 MB / 0.9532 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 7.635e-06/1.02, allocations: 4 kB / 0.9532 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.00183/1.022, allocations: 0.6448 MB / 0.9538 GB, free: 4.289 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002915/1.025, allocations: 0.6238 MB / 0.9544 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02193/1.047, allocations: 11.27 MB / 0.9654 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009293/1.048, allocations: 1.187 MB / 0.9666 GB, free: 6.801 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001322/1.049, allocations: 342.4 kB / 0.9669 GB, free: 6.461 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008163/1.05, allocations: 0.4953 MB / 0.9674 GB, free: 5.965 MB / 0.7325 GB Notification: Performance of SimCode: time 1.052e-06/1.05, allocations: 4 kB / 0.9674 GB, free: 5.961 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09109/1.141, allocations: 36.21 MB / 1.003 GB, free: 2.031 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.15/18.3, allocations: 8.766 kB / 1.003 GB, free: 2.027 MB / 0.7637 GB " [Timeout remaining time 642] (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/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --stepSize=0.48 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 22.11629781103693] Failed to read output from testmodel.py, exit status != 0: 18.481798079097643 18.499788968 17.567014937 Calling exit ...