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.001125/0.001125, allocations: 73.97 kB / 20.65 MB, free: 3.848 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.001239/0.001239, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 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.9948/0.9948, allocations: 177.1 MB / 204.5 MB, free: 5.094 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.7605/0.7605, allocations: 154.6 MB / 415.6 MB, free: 468 kB / 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.533e-06/1.533e-06, allocations: 0 / 0.5216 GB, free: 1.852 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.493e-05/1.646e-05, allocations: 2.312 kB / 0.5216 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01027/0.01029, allocations: 13.4 MB / 0.5347 GB, free: 4.43 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.00697/0.01726, allocations: 5.011 MB / 0.5396 GB, free: 15.46 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008225/0.01808, allocations: 92.75 kB / 0.5396 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008827/0.01896, allocations: 0.6146 MB / 0.5402 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001937/0.0209, allocations: 1.575 MB / 0.5418 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002278/0.02318, allocations: 1.552 MB / 0.5433 GB, free: 11.63 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002763/0.02594, allocations: 3.858 MB / 0.5471 GB, free: 7.758 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009159/0.02686, allocations: 1.038 MB / 0.5481 GB, free: 6.703 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001598/0.02845, allocations: 1.904 MB / 0.5499 GB, free: 4.797 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/0.02949, allocations: 1.028 MB / 0.5509 GB, free: 3.766 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001211/0.02961, allocations: 108 kB / 0.551 GB, free: 3.66 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005107/0.03012, allocations: 321.2 kB / 0.5513 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002588/0.03038, allocations: 418.1 kB / 0.5517 GB, free: 2.938 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0004221/0.03081, allocations: 0.561 MB / 0.5523 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.03195, allocations: 1.413 MB / 0.5537 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.03196, allocations: 0.5 kB / 0.5537 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.022e-06/0.03196, allocations: 0 / 0.5537 GB, free: 0.957 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.03197, allocations: 2.125 kB / 0.5537 GB, free: 0.957 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.001912/0.03388, allocations: 2.128 MB / 0.5558 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.03391, allocations: 8.031 kB / 0.5558 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.03533, allocations: 0.6012 MB / 0.5564 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.03667, allocations: 1.139 MB / 0.5575 GB, free: 13 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.066e-05/0.03673, allocations: 86.12 kB / 0.5575 GB, free: 12.91 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001167/0.03685, allocations: 107.9 kB / 0.5576 GB, free: 12.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.0381, allocations: 1.21 MB / 0.5588 GB, free: 11.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.72e-05/0.03813, allocations: 4 kB / 0.5588 GB, free: 11.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.997e-05/0.0382, allocations: 47.94 kB / 0.5589 GB, free: 11.35 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.098e-05/0.03822, allocations: 28.91 kB / 0.5589 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005767/0.0388, allocations: 463.5 kB / 0.5593 GB, free: 10.87 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00449/0.04329, allocations: 7.695 MB / 0.5669 GB, free: 2.934 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008288/0.04412, allocations: 0.4891 MB / 0.5673 GB, free: 2.441 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002256/0.04434, allocations: 192.3 kB / 0.5675 GB, free: 2.254 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/0.04456, allocations: 84.69 kB / 0.5676 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003891/0.04495, allocations: 340.2 kB / 0.5679 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=85): time 2.875e-06/0.04495, allocations: 0 / 0.5679 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85): time 0.001036/0.04599, allocations: 0.7994 MB / 0.5687 GB, free: 1.031 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.04602, allocations: 64.39 kB / 0.5688 GB, free: 0.9531 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007668/0.04679, allocations: 1.204 MB / 0.5699 GB, free: 15.72 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.444e-05/0.04684, allocations: 52.19 kB / 0.57 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004421/0.04729, allocations: 0.8769 MB / 0.5709 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001727/0.04746, allocations: 309.4 kB / 0.5711 GB, free: 14.47 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003556/0.04781, allocations: 240.3 kB / 0.5714 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001282/0.04794, allocations: 0.5276 MB / 0.5719 GB, free: 13.69 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.04816, allocations: 155 kB / 0.572 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005072/0.04867, allocations: 0.8986 MB / 0.5729 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007081/0.04938, allocations: 0.8601 MB / 0.5738 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.04938, allocations: 4 kB / 0.5738 GB, free: 11.31 MB / 0.5417 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001005/0.05039, allocations: 0.9379 MB / 0.5747 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.05041, allocations: 12 kB / 0.5747 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/0.05042, allocations: 8 kB / 0.5747 GB, free: 10.34 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.05043, allocations: 20 kB / 0.5747 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.05102, allocations: 299.8 kB / 0.575 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.297e-05/0.05103, allocations: 19.94 kB / 0.575 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004811/0.05151, allocations: 159.1 kB / 0.5752 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/0.05159, allocations: 55.97 kB / 0.5752 GB, free: 9.797 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.0002439/0.05183, allocations: 234.1 kB / 0.5754 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001799/0.05201, allocations: 206.8 kB / 0.5756 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001324/0.05333, allocations: 1.134 MB / 0.5768 GB, free: 8.242 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.551e-05/0.05335, allocations: 19.98 kB / 0.5768 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.914e-06/0.05335, allocations: 4 kB / 0.5768 GB, free: 8.219 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/0.05336, allocations: 7.969 kB / 0.5768 GB, free: 8.211 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002193/0.05555, allocations: 2.052 MB / 0.5788 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.05556, allocations: 4 kB / 0.5788 GB, free: 6.059 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004596/0.05602, allocations: 195.7 kB / 0.579 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.05603, allocations: 4 kB / 0.579 GB, free: 5.863 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.05607, allocations: 31.97 kB / 0.579 GB, free: 5.832 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.233e-06/0.05608, allocations: 16.05 kB / 0.579 GB, free: 5.816 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.05608, allocations: 4 kB / 0.579 GB, free: 5.812 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00127/0.05735, allocations: 1.253 MB / 0.5803 GB, free: 4.508 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002783/0.05763, allocations: 278.4 kB / 0.5805 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001047/0.05774, allocations: 23.98 kB / 0.5805 GB, free: 4.211 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003701/0.05811, allocations: 67.88 kB / 0.5806 GB, free: 4.145 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.663e-05/0.05819, allocations: 76.86 kB / 0.5807 GB, free: 4.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.445e-05/0.05825, allocations: 35.97 kB / 0.5807 GB, free: 4.035 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0004339/0.05868, allocations: 0.6863 MB / 0.5814 GB, free: 3.352 MB / 0.5417 GB Notification: Performance of sort global known variables: time 6e-08/0.05868, allocations: 0 / 0.5814 GB, free: 3.352 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007434/0.05942, allocations: 431.2 kB / 0.5818 GB, free: 2.93 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.0009787/0.0604, allocations: 495.4 kB / 0.5823 GB, free: 2.617 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007349/0.06114, allocations: 0.6472 MB / 0.5829 GB, free: 1.973 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.06114, allocations: 0 / 0.5829 GB, free: 1.973 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0003811/0.06152, allocations: 363.7 kB / 0.5832 GB, free: 1.613 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001455/0.06298, allocations: 0.6356 MB / 0.5839 GB, free: 1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003118/0.06609, allocations: 2.547 MB / 0.5864 GB, free: 14.38 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000194/0.06629, allocations: 306.5 kB / 0.5866 GB, free: 14.06 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0006462/0.06693, allocations: 307.9 kB / 0.5869 GB, free: 13.77 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009349/0.06787, allocations: 0.6227 MB / 0.5876 GB, free: 13.14 MB / 0.5574 GB Notification: Performance of SimCode: time 1.473e-06/0.06787, allocations: 4 kB / 0.5876 GB, free: 13.14 MB / 0.5574 GB Notification: Performance of Templates: time 0.03101/0.09888, allocations: 28.59 MB / 0.6155 GB, free: 1.297 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.31526535609737]