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.0009106/0.0009106, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001037/0.001037, allocations: 169 kB / 23.02 MB, free: 1.547 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 0.9629/0.9629, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.7863/0.7863, allocations: 154.6 MB / 414.5 MB, free: 0.6602 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.753e-06/1.753e-06, allocations: 0 / 0.5204 GB, free: 1.035 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.779e-05/2.955e-05, allocations: 2.312 kB / 0.5204 GB, free: 1.031 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01099/0.01102, allocations: 13.57 MB / 0.5336 GB, free: 3.453 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.007809/0.01883, allocations: 5.039 MB / 0.5385 GB, free: 14.45 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001577/0.02041, allocations: 95.12 kB / 0.5386 GB, free: 14.36 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0013/0.02171, allocations: 0.6119 MB / 0.5392 GB, free: 13.75 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003244/0.02495, allocations: 1.569 MB / 0.5408 GB, free: 12.18 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003056/0.02801, allocations: 1.553 MB / 0.5423 GB, free: 10.63 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.004289/0.0323, allocations: 3.858 MB / 0.546 GB, free: 6.758 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001931/0.03423, allocations: 1.038 MB / 0.5471 GB, free: 5.695 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002874/0.0371, allocations: 1.821 MB / 0.5488 GB, free: 3.871 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00125/0.03835, allocations: 1.071 MB / 0.5499 GB, free: 2.801 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001605/0.03851, allocations: 108 kB / 0.55 GB, free: 2.695 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006807/0.03919, allocations: 327.5 kB / 0.5503 GB, free: 2.375 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.03948, allocations: 418.2 kB / 0.5507 GB, free: 1.965 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005484/0.04003, allocations: 0.5727 MB / 0.5513 GB, free: 1.391 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001539/0.04157, allocations: 1.416 MB / 0.5526 GB, free: 15.97 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.04158, allocations: 0 / 0.5526 GB, free: 15.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.04158, allocations: 0 / 0.5526 GB, free: 15.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.155e-05/0.0416, allocations: 1.094 kB / 0.5526 GB, free: 15.97 MB / 490.7 MB 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.002443/0.04404, allocations: 2.112 MB / 0.5547 GB, free: 13.8 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.88e-05/0.04408, allocations: 13.47 kB / 0.5547 GB, free: 13.79 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001571/0.04565, allocations: 0.6288 MB / 0.5553 GB, free: 13.17 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/0.04697, allocations: 1.141 MB / 0.5564 GB, free: 12 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.486e-05/0.04702, allocations: 82.14 kB / 0.5565 GB, free: 11.91 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/0.04714, allocations: 109.1 kB / 0.5566 GB, free: 11.81 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.04863, allocations: 1.302 MB / 0.5579 GB, free: 10.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.04865, allocations: 8.562 kB / 0.5579 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.832e-05/0.04872, allocations: 48 kB / 0.558 GB, free: 10.26 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.265e-05/0.04875, allocations: 28.62 kB / 0.558 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008327/0.04958, allocations: 0.5751 MB / 0.5585 GB, free: 9.664 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00528/0.05486, allocations: 7.96 MB / 0.5663 GB, free: 1.445 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/0.05601, allocations: 0.5769 MB / 0.5669 GB, free: 0.8672 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003358/0.05634, allocations: 236.6 kB / 0.5671 GB, free: 0.6367 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002756/0.05662, allocations: 78.27 kB / 0.5672 GB, free: 0.5625 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005201/0.05714, allocations: 384.3 kB / 0.5675 GB, free: 180 kB / 490.7 MB Notification: Performance of pre-optimization done (n=85): time 4.759e-06/0.05714, allocations: 0 / 0.5675 GB, free: 180 kB / 490.7 MB Notification: Performance of matching and sorting (n=85): time 0.001593/0.05874, allocations: 0.9167 MB / 0.5684 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.161e-05/0.05878, allocations: 64.39 kB / 0.5685 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.05981, allocations: 1.244 MB / 0.5697 GB, free: 13.91 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.048e-05/0.05987, allocations: 46.27 kB / 0.5698 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/0.06036, allocations: 0.8695 MB / 0.5706 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001942/0.06055, allocations: 306.2 kB / 0.5709 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002241/0.06077, allocations: 232.5 kB / 0.5711 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.0609, allocations: 0.517 MB / 0.5716 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003324/0.06124, allocations: 200.1 kB / 0.5718 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006589/0.0619, allocations: 0.9451 MB / 0.5727 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009356/0.06283, allocations: 0.9444 MB / 0.5737 GB, free: 9.371 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.594e-06/0.06284, allocations: 4 kB / 0.5737 GB, free: 9.367 MB / 0.4948 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001331/0.06417, allocations: 1.026 MB / 0.5747 GB, free: 8.336 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.194e-05/0.06419, allocations: 16.25 kB / 0.5747 GB, free: 8.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.0642, allocations: 8 kB / 0.5747 GB, free: 8.312 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.629e-05/0.06423, allocations: 23.94 kB / 0.5747 GB, free: 8.289 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008234/0.06505, allocations: 315.5 kB / 0.575 GB, free: 7.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.06507, allocations: 23.92 kB / 0.575 GB, free: 7.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006014/0.06567, allocations: 163.2 kB / 0.5752 GB, free: 7.797 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.415e-05/0.06576, allocations: 63.97 kB / 0.5753 GB, free: 7.734 MB / 0.4948 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.0002753/0.06603, allocations: 246.1 kB / 0.5755 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001769/0.06621, allocations: 187 kB / 0.5757 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.06781, allocations: 1.245 MB / 0.5769 GB, free: 6.078 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.806e-05/0.06782, allocations: 19.98 kB / 0.5769 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.349e-06/0.06783, allocations: 0 / 0.5769 GB, free: 6.059 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/0.06784, allocations: 3.984 kB / 0.5769 GB, free: 6.055 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002574/0.07041, allocations: 2.378 MB / 0.5792 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.07042, allocations: 0 / 0.5792 GB, free: 3.566 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004993/0.07092, allocations: 195.9 kB / 0.5794 GB, free: 3.375 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.764e-06/0.07092, allocations: 15.92 kB / 0.5794 GB, free: 3.359 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.175e-05/0.07098, allocations: 31.97 kB / 0.5795 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.035e-06/0.07098, allocations: 11.92 kB / 0.5795 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.07099, allocations: 4 kB / 0.5795 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.07261, allocations: 1.421 MB / 0.5809 GB, free: 1.84 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003385/0.07295, allocations: 290.3 kB / 0.5811 GB, free: 1.555 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001017/0.07305, allocations: 23.98 kB / 0.5812 GB, free: 1.531 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004113/0.07346, allocations: 79.92 kB / 0.5812 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.07356, allocations: 72.86 kB / 0.5813 GB, free: 1.383 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.337e-05/0.07362, allocations: 47.97 kB / 0.5814 GB, free: 1.336 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0007841/0.07441, allocations: 0.7412 MB / 0.5821 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.07441, allocations: 0 / 0.5821 GB, free: 0.5977 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.000867/0.07528, allocations: 435.3 kB / 0.5825 GB, free: 176 kB / 0.4948 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 (109): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.001129/0.07641, allocations: 480.2 kB / 0.583 GB, free: 15.87 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001373/0.07778, allocations: 0.7408 MB / 0.5837 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.07778, allocations: 0 / 0.5837 GB, free: 15.13 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006605/0.07844, allocations: 420.3 kB / 0.5841 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.08045, allocations: 0.643 MB / 0.5847 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004117/0.08457, allocations: 2.579 MB / 0.5872 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000258/0.08483, allocations: 302.5 kB / 0.5875 GB, free: 11.12 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0009676/0.0858, allocations: 327.3 kB / 0.5878 GB, free: 10.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003812/0.08618, allocations: 160.3 kB / 0.588 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of SimCode: time 1.573e-06/0.08618, allocations: 0 / 0.588 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of Templates: time 0.03746/0.1236, allocations: 25.31 MB / 0.6127 GB, free: 2.039 MB / 0.5261 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.394956233911216]