Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.001208/0.001208, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001322/0.001322, allocations: 173.3 kB / 23.49 MB, free: 1.062 MB / 18.57 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.035/1.035, allocations: 177.1 MB / 203.8 MB, free: 5.648 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.8139/0.8139, allocations: 154.6 MB / 414.9 MB, free: 0.6562 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.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: translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.5204 GB, free: 2.488 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.331e-05/2.467e-05, allocations: 2.312 kB / 0.5204 GB, free: 2.484 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03893/0.03895, allocations: 56.66 MB / 0.5757 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01295/0.0519, allocations: 10.76 MB / 0.5862 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001972/0.05387, allocations: 91.19 kB / 0.5863 GB, free: 14.97 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001805/0.05568, allocations: 0.9199 MB / 0.5872 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004166/0.05984, allocations: 2.132 MB / 0.5893 GB, free: 11.9 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.004132/0.06398, allocations: 2.169 MB / 0.5914 GB, free: 9.727 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004103/0.06808, allocations: 3.861 MB / 0.5952 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001378/0.06946, allocations: 1.034 MB / 0.5962 GB, free: 4.797 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003406/0.07286, allocations: 2.48 MB / 0.5986 GB, free: 2.309 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001311/0.07418, allocations: 1.063 MB / 0.5996 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001747/0.07435, allocations: 108 kB / 0.5997 GB, free: 1.137 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002014/0.07636, allocations: 1.06 MB / 0.6008 GB, free: 76 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003161/0.07668, allocations: 410.2 kB / 0.6012 GB, free: 15.67 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005919/0.07727, allocations: 0.5726 MB / 0.6017 GB, free: 15.1 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002779/0.08005, allocations: 1.974 MB / 0.6037 GB, free: 13.12 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.08006, allocations: 0 / 0.6037 GB, free: 13.12 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.472e-06/0.08006, allocations: 0 / 0.6037 GB, free: 13.12 MB / 0.573 GB Notification: Performance of Transformations before backend: time 3.127e-05/0.08009, allocations: 11.94 kB / 0.6037 GB, free: 13.11 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.002347/0.08243, allocations: 2.203 MB / 0.6058 GB, free: 10.84 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/0.08248, allocations: 12.03 kB / 0.6058 GB, free: 10.83 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00167/0.08415, allocations: 0.6349 MB / 0.6065 GB, free: 10.2 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001396/0.08554, allocations: 1.15 MB / 0.6076 GB, free: 8.992 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.7e-05/0.08563, allocations: 86.14 kB / 0.6077 GB, free: 8.906 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001162/0.08575, allocations: 104 kB / 0.6078 GB, free: 8.805 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001571/0.08732, allocations: 1.306 MB / 0.609 GB, free: 7.297 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.262e-05/0.08734, allocations: 7.938 kB / 0.609 GB, free: 7.289 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.821e-05/0.08741, allocations: 44 kB / 0.6091 GB, free: 7.246 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.132e-05/0.08743, allocations: 28 kB / 0.6091 GB, free: 7.219 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008691/0.0883, allocations: 0.5733 MB / 0.6097 GB, free: 6.645 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005475/0.09377, allocations: 7.959 MB / 0.6174 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00116/0.09493, allocations: 0.5799 MB / 0.618 GB, free: 13.83 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.09527, allocations: 229.5 kB / 0.6182 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005725/0.09584, allocations: 277.3 kB / 0.6185 GB, free: 13.33 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005227/0.09636, allocations: 390.2 kB / 0.6189 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=85): time 3.928e-06/0.09637, allocations: 0 / 0.6189 GB, free: 12.94 MB / 0.5886 GB Notification: Performance of matching and sorting (n=85): time 0.001535/0.0979, allocations: 0.9173 MB / 0.6198 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.09794, allocations: 60.41 kB / 0.6198 GB, free: 11.95 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001302/0.09924, allocations: 1.24 MB / 0.621 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.949e-05/0.0993, allocations: 49.7 kB / 0.6211 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004671/0.09977, allocations: 0.8734 MB / 0.6219 GB, free: 9.734 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.09996, allocations: 301.4 kB / 0.6222 GB, free: 9.438 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.1002, allocations: 236.5 kB / 0.6224 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1003, allocations: 0.516 MB / 0.6229 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.1007, allocations: 202.5 kB / 0.6231 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006622/0.1013, allocations: 0.9439 MB / 0.6241 GB, free: 7.254 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009112/0.1022, allocations: 0.9396 MB / 0.625 GB, free: 6.105 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.371e-06/0.1022, allocations: 11.94 kB / 0.625 GB, free: 6.094 MB / 0.5886 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001444/0.1037, allocations: 1.023 MB / 0.626 GB, free: 5.062 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.1037, allocations: 8 kB / 0.626 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/0.1037, allocations: 15.94 kB / 0.626 GB, free: 5.039 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.608e-05/0.1037, allocations: 16.72 kB / 0.626 GB, free: 5.023 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006588/0.1044, allocations: 307.5 kB / 0.6263 GB, free: 4.723 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.977e-05/0.1044, allocations: 23.94 kB / 0.6263 GB, free: 4.699 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006238/0.105, allocations: 167.2 kB / 0.6265 GB, free: 4.535 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.403e-05/0.1051, allocations: 63.97 kB / 0.6266 GB, free: 4.473 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0003185/0.1054, allocations: 246 kB / 0.6268 GB, free: 4.223 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.1057, allocations: 199 kB / 0.627 GB, free: 4.027 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002097/0.1078, allocations: 1.354 MB / 0.6283 GB, free: 2.699 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.421e-05/0.1078, allocations: 23.97 kB / 0.6283 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.1078, allocations: 0 / 0.6283 GB, free: 2.676 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.1078, allocations: 3.984 kB / 0.6283 GB, free: 2.672 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.1104, allocations: 2.255 MB / 0.6305 GB, free: 356 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.1104, allocations: 8.031 kB / 0.6305 GB, free: 348 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005109/0.1109, allocations: 203.7 kB / 0.6307 GB, free: 144 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.647e-06/0.1109, allocations: 8 kB / 0.6308 GB, free: 136 kB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-05/0.111, allocations: 35.97 kB / 0.6308 GB, free: 100 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.111, allocations: 8 kB / 0.6308 GB, free: 92 kB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.111, allocations: 3.938 kB / 0.6308 GB, free: 88 kB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/0.1128, allocations: 1.51 MB / 0.6323 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003633/0.1131, allocations: 306.3 kB / 0.6326 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001184/0.1132, allocations: 24 kB / 0.6326 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004131/0.1137, allocations: 79.92 kB / 0.6327 GB, free: 14.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.1138, allocations: 88.72 kB / 0.6327 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.603e-05/0.1138, allocations: 51.95 kB / 0.6328 GB, free: 13.99 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0006216/0.1145, allocations: 0.7451 MB / 0.6335 GB, free: 13.25 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.1145, allocations: 4 kB / 0.6335 GB, free: 13.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001153/0.1156, allocations: 0.5651 MB / 0.6341 GB, free: 12.68 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.001721/0.1173, allocations: 0.8189 MB / 0.6349 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001158/0.1185, allocations: 0.7655 MB / 0.6356 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.1185, allocations: 0 / 0.6356 GB, free: 11.27 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005503/0.119, allocations: 444.6 kB / 0.6361 GB, free: 10.84 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001558/0.1206, allocations: 0.6444 MB / 0.6367 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/0.1242, allocations: 2.653 MB / 0.6393 GB, free: 7.488 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/0.1244, allocations: 310.6 kB / 0.6396 GB, free: 7.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0009396/0.1254, allocations: 333.3 kB / 0.6399 GB, free: 6.852 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002966/0.1256, allocations: 164.3 kB / 0.64 GB, free: 6.691 MB / 0.6042 GB Notification: Performance of SimCode: time 1.943e-06/0.1257, allocations: 0 / 0.64 GB, free: 6.691 MB / 0.6042 GB Notification: Performance of Templates: time 0.03937/0.165, allocations: 30.6 MB / 0.6699 GB, free: 8.812 MB / 0.6355 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.855641179950908]