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.001371/0.001371, allocations: 93.06 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.001568/0.001568, allocations: 173 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.9406/0.9406, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.7552/0.7552, allocations: 154.6 MB / 414.5 MB, free: 0.6445 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 2.244e-06/2.244e-06, allocations: 0 / 0.5204 GB, free: 2.125 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.837e-05/3.062e-05, allocations: 4 kB / 0.5204 GB, free: 2.121 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01149/0.01152, allocations: 13.57 MB / 0.5336 GB, free: 4.531 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007779/0.0193, allocations: 5.039 MB / 0.5385 GB, free: 15.54 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000595/0.0199, allocations: 91.75 kB / 0.5386 GB, free: 15.45 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0009394/0.02084, allocations: 0.6086 MB / 0.5392 GB, free: 14.84 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001761/0.0226, allocations: 1.574 MB / 0.5408 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002017/0.02462, allocations: 1.552 MB / 0.5423 GB, free: 11.72 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002526/0.02714, allocations: 3.859 MB / 0.5461 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009282/0.02807, allocations: 1.041 MB / 0.5471 GB, free: 6.789 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001565/0.02964, allocations: 1.903 MB / 0.5489 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008034/0.03044, allocations: 1.026 MB / 0.5499 GB, free: 3.855 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.03056, allocations: 104 kB / 0.55 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004875/0.03104, allocations: 325.9 kB / 0.5503 GB, free: 3.438 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.03129, allocations: 422.1 kB / 0.5507 GB, free: 3.023 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004045/0.03169, allocations: 0.5649 MB / 0.5513 GB, free: 2.457 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.03281, allocations: 1.409 MB / 0.5527 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.03281, allocations: 0 / 0.5527 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.032e-06/0.03281, allocations: 0 / 0.5527 GB, free: 1.043 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.322e-05/0.03283, allocations: 0 / 0.5527 GB, free: 1.043 MB / 0.5105 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.001852/0.03468, allocations: 2.106 MB / 0.5547 GB, free: 14.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.03471, allocations: 11.97 kB / 0.5547 GB, free: 14.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.03607, allocations: 0.6026 MB / 0.5553 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.03722, allocations: 1.156 MB / 0.5565 GB, free: 13.08 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.078e-05/0.03727, allocations: 87.19 kB / 0.5565 GB, free: 13 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.03737, allocations: 104 kB / 0.5566 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001346/0.03872, allocations: 1.276 MB / 0.5579 GB, free: 11.42 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.03874, allocations: 9.031 kB / 0.5579 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.03881, allocations: 48 kB / 0.5579 GB, free: 11.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.024e-05/0.03883, allocations: 28.75 kB / 0.558 GB, free: 11.34 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007765/0.0396, allocations: 0.5618 MB / 0.5585 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004444/0.04405, allocations: 7.911 MB / 0.5662 GB, free: 2.617 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000978/0.04502, allocations: 0.5476 MB / 0.5668 GB, free: 2.066 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002924/0.04532, allocations: 227.7 kB / 0.567 GB, free: 1.844 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002219/0.04554, allocations: 89.72 kB / 0.5671 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004618/0.046, allocations: 375.6 kB / 0.5674 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=85): time 2.564e-06/0.046, allocations: 0 / 0.5674 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85): time 0.00126/0.04726, allocations: 0.8971 MB / 0.5683 GB, free: 496 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.0473, allocations: 62.19 kB / 0.5684 GB, free: 420 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001026/0.04832, allocations: 1.248 MB / 0.5696 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.347e-05/0.04838, allocations: 41.7 kB / 0.5696 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005061/0.04888, allocations: 0.8695 MB / 0.5705 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000169/0.04905, allocations: 306.5 kB / 0.5708 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000206/0.04926, allocations: 236.4 kB / 0.571 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.04938, allocations: 0.5199 MB / 0.5715 GB, free: 13.14 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003023/0.04968, allocations: 196.9 kB / 0.5717 GB, free: 12.95 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007109/0.05039, allocations: 0.9405 MB / 0.5726 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008186/0.05121, allocations: 0.9297 MB / 0.5735 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.05122, allocations: 7.938 kB / 0.5735 GB, free: 10.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00114/0.05236, allocations: 1.021 MB / 0.5745 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.05238, allocations: 8 kB / 0.5745 GB, free: 9.566 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.05239, allocations: 12 kB / 0.5745 GB, free: 9.555 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.05241, allocations: 16 kB / 0.5746 GB, free: 9.539 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005863/0.053, allocations: 303.8 kB / 0.5748 GB, free: 9.242 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.05301, allocations: 19.94 kB / 0.5749 GB, free: 9.223 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004425/0.05345, allocations: 155.1 kB / 0.575 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003379/0.05379, allocations: 67.95 kB / 0.5751 GB, free: 9.004 MB / 0.5417 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.0002366/0.05403, allocations: 246.1 kB / 0.5753 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001635/0.05419, allocations: 202.9 kB / 0.5755 GB, free: 8.555 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.05563, allocations: 1.231 MB / 0.5767 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.356e-05/0.05564, allocations: 15.98 kB / 0.5767 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.05565, allocations: 4 kB / 0.5767 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.05565, allocations: 3.984 kB / 0.5767 GB, free: 7.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002244/0.0579, allocations: 2.349 MB / 0.579 GB, free: 4.863 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.0579, allocations: 4 kB / 0.579 GB, free: 4.859 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004492/0.05835, allocations: 191.7 kB / 0.5792 GB, free: 4.672 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/0.05836, allocations: 11.94 kB / 0.5792 GB, free: 4.66 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.74e-05/0.05841, allocations: 31.97 kB / 0.5793 GB, free: 4.629 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.05841, allocations: 4 kB / 0.5793 GB, free: 4.625 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.05842, allocations: 12.05 kB / 0.5793 GB, free: 4.613 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001455/0.05987, allocations: 1.402 MB / 0.5806 GB, free: 3.16 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/0.06014, allocations: 286.3 kB / 0.5809 GB, free: 2.879 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.06024, allocations: 24 kB / 0.5809 GB, free: 2.855 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003494/0.06059, allocations: 63.94 kB / 0.581 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/0.06068, allocations: 80.84 kB / 0.5811 GB, free: 2.715 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-05/0.06073, allocations: 43.97 kB / 0.5811 GB, free: 2.672 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005518/0.06129, allocations: 0.7451 MB / 0.5818 GB, free: 1.93 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.06129, allocations: 4 kB / 0.5818 GB, free: 1.926 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000924/0.06221, allocations: 419.2 kB / 0.5822 GB, free: 1.516 MB / 0.5417 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.0009494/0.06316, allocations: 0.4897 MB / 0.5827 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008793/0.06404, allocations: 0.7369 MB / 0.5834 GB, free: 472 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.06404, allocations: 4.188 kB / 0.5834 GB, free: 468 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004551/0.0645, allocations: 407.7 kB / 0.5838 GB, free: 56 kB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001367/0.06586, allocations: 0.6454 MB / 0.5845 GB, free: 15.43 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002673/0.06854, allocations: 2.555 MB / 0.587 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001906/0.06873, allocations: 306.5 kB / 0.5873 GB, free: 12.48 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006174/0.06934, allocations: 333.2 kB / 0.5876 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002661/0.06961, allocations: 152.4 kB / 0.5877 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of SimCode: time 1.022e-06/0.06961, allocations: 0 / 0.5877 GB, free: 12.02 MB / 0.5573 GB Notification: Performance of Templates: time 0.0299/0.09951, allocations: 28.24 MB / 0.6153 GB, free: 0.4922 MB / 0.573 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.433535926043987]