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.001294/0.001294, allocations: 85.91 kB / 19.87 MB, free: 4.625 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.0009925/0.0009925, allocations: 169.7 kB / 23.27 MB, free: 1.23 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.9596/0.9596, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.7711/0.7711, allocations: 154.6 MB / 414.8 MB, free: 0.5547 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.944e-06/1.944e-06, allocations: 0 / 0.5208 GB, free: 1.836 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.688e-05, allocations: 10.11 kB / 0.5208 GB, free: 1.828 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01551/0.01554, allocations: 13.4 MB / 0.5339 GB, free: 4.414 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.007656/0.0232, allocations: 5.01 MB / 0.5388 GB, free: 15.44 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001708/0.0249, allocations: 95.12 kB / 0.5389 GB, free: 15.35 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.02626, allocations: 0.6076 MB / 0.5395 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003216/0.02947, allocations: 1.577 MB / 0.541 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002898/0.03237, allocations: 1.557 MB / 0.5425 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004483/0.03685, allocations: 3.854 MB / 0.5463 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/0.03859, allocations: 1.037 MB / 0.5473 GB, free: 6.688 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003136/0.04173, allocations: 1.905 MB / 0.5492 GB, free: 4.781 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.04313, allocations: 1.032 MB / 0.5502 GB, free: 3.746 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002713/0.0434, allocations: 104 kB / 0.5503 GB, free: 3.645 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007672/0.04416, allocations: 320.2 kB / 0.5506 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003216/0.04449, allocations: 414.2 kB / 0.551 GB, free: 2.926 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0007695/0.04526, allocations: 0.5787 MB / 0.5515 GB, free: 2.348 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.04685, allocations: 1.413 MB / 0.5529 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.04686, allocations: 0 / 0.5529 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.222e-06/0.04686, allocations: 0 / 0.5529 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.271e-05/0.04688, allocations: 0 / 0.5529 GB, free: 0.9297 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.002052/0.04893, allocations: 2.129 MB / 0.555 GB, free: 14.75 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.04897, allocations: 12.03 kB / 0.555 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.05035, allocations: 0.6022 MB / 0.5556 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00122/0.05157, allocations: 1.131 MB / 0.5567 GB, free: 12.97 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.34e-05/0.05162, allocations: 82.14 kB / 0.5568 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.05172, allocations: 112 kB / 0.5569 GB, free: 12.78 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.05305, allocations: 1.198 MB / 0.5581 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.05307, allocations: 7.938 kB / 0.5581 GB, free: 11.38 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.338e-05/0.05313, allocations: 47.98 kB / 0.5581 GB, free: 11.33 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.862e-05/0.05315, allocations: 30.28 kB / 0.5581 GB, free: 11.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005564/0.05371, allocations: 466.4 kB / 0.5586 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00461/0.05832, allocations: 7.694 MB / 0.5661 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000831/0.05915, allocations: 0.4917 MB / 0.5666 GB, free: 2.418 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002219/0.05937, allocations: 192.8 kB / 0.5668 GB, free: 2.23 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002524/0.05962, allocations: 107.2 kB / 0.5669 GB, free: 2.148 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003994/0.06002, allocations: 343.5 kB / 0.5672 GB, free: 1.801 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=85): time 2.625e-06/0.06002, allocations: 7.281 kB / 0.5672 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85): time 0.001053/0.06108, allocations: 0.7977 MB / 0.568 GB, free: 1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.06111, allocations: 60.41 kB / 0.568 GB, free: 0.9258 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008072/0.06192, allocations: 1.208 MB / 0.5692 GB, free: 15.69 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.184e-05/0.06197, allocations: 42.33 kB / 0.5693 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004602/0.06243, allocations: 0.8808 MB / 0.5701 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001799/0.06261, allocations: 311 kB / 0.5704 GB, free: 14.44 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002013/0.06281, allocations: 236.3 kB / 0.5706 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.06294, allocations: 0.5237 MB / 0.5712 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002113/0.06315, allocations: 157 kB / 0.5713 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004877/0.06364, allocations: 0.9047 MB / 0.5722 GB, free: 12.34 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006617/0.0643, allocations: 0.8555 MB / 0.573 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.06431, allocations: 4 kB / 0.573 GB, free: 11.29 MB / 0.5417 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0009778/0.06529, allocations: 0.9361 MB / 0.5739 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.06531, allocations: 12.16 kB / 0.574 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.273e-05/0.06532, allocations: 16 kB / 0.574 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.916e-05/0.06534, allocations: 16 kB / 0.574 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000557/0.0659, allocations: 291.5 kB / 0.5743 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.414e-05/0.06591, allocations: 27.92 kB / 0.5743 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000514/0.06642, allocations: 159.1 kB / 0.5744 GB, free: 9.832 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.195e-05/0.0665, allocations: 51.97 kB / 0.5745 GB, free: 9.781 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.0002605/0.06676, allocations: 246.1 kB / 0.5747 GB, free: 9.531 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001675/0.06692, allocations: 198.9 kB / 0.5749 GB, free: 9.336 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001269/0.06819, allocations: 1.136 MB / 0.576 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/0.06821, allocations: 19.98 kB / 0.576 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.06821, allocations: 0 / 0.576 GB, free: 8.203 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.06822, allocations: 3.984 kB / 0.576 GB, free: 8.199 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.07028, allocations: 2.061 MB / 0.5781 GB, free: 6.043 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.07028, allocations: 3.938 kB / 0.5781 GB, free: 6.039 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004301/0.07071, allocations: 191.9 kB / 0.5782 GB, free: 5.852 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.712e-06/0.07072, allocations: 8 kB / 0.5783 GB, free: 5.844 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.436e-05/0.07077, allocations: 31.97 kB / 0.5783 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.07077, allocations: 7.938 kB / 0.5783 GB, free: 5.805 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/0.07077, allocations: 4 kB / 0.5783 GB, free: 5.801 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.07198, allocations: 1.253 MB / 0.5795 GB, free: 4.496 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/0.07229, allocations: 274.4 kB / 0.5798 GB, free: 4.227 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.584e-05/0.07239, allocations: 20 kB / 0.5798 GB, free: 4.207 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/0.07274, allocations: 75.88 kB / 0.5799 GB, free: 4.133 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/0.07282, allocations: 76.86 kB / 0.5799 GB, free: 4.059 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.374e-05/0.07288, allocations: 39.95 kB / 0.58 GB, free: 4.02 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004449/0.07332, allocations: 0.6785 MB / 0.5806 GB, free: 3.344 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/0.07332, allocations: 0 / 0.5806 GB, free: 3.344 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007783/0.0741, allocations: 431.2 kB / 0.5811 GB, free: 2.922 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.0009713/0.07507, allocations: 497.6 kB / 0.5815 GB, free: 2.605 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007623/0.07583, allocations: 0.647 MB / 0.5822 GB, free: 1.961 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.07584, allocations: 0 / 0.5822 GB, free: 1.961 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003664/0.0762, allocations: 360.2 kB / 0.5825 GB, free: 1.605 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.07754, allocations: 0.6372 MB / 0.5831 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002964/0.08051, allocations: 2.558 MB / 0.5856 GB, free: 14.36 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001902/0.0807, allocations: 306.5 kB / 0.5859 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007104/0.08141, allocations: 305.7 kB / 0.5862 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009478/0.08235, allocations: 0.6304 MB / 0.5868 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of SimCode: time 1.252e-06/0.08235, allocations: 0 / 0.5868 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of Templates: time 0.03223/0.1146, allocations: 28.14 MB / 0.6143 GB, free: 1.734 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.396872178185731]