Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001105/0.001105, 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.001505/0.001505, 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.9455/0.9455, 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 master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7374/0.7374, allocations: 154.9 MB / 414.8 MB, free: 424 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.5207 GB, free: 1.75 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.997e-05, allocations: 2.312 kB / 0.5207 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.01234/0.01236, allocations: 13.58 MB / 0.534 GB, free: 4.148 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.006718/0.01908, allocations: 5.034 MB / 0.5389 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007978/0.01987, allocations: 91.19 kB / 0.539 GB, free: 15.07 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000899/0.02077, allocations: 0.6119 MB / 0.5396 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002078/0.02285, allocations: 1.575 MB / 0.5411 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002442/0.02529, allocations: 1.549 MB / 0.5426 GB, free: 11.34 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003626/0.02892, allocations: 3.861 MB / 0.5464 GB, free: 7.465 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001286/0.03021, allocations: 1.034 MB / 0.5474 GB, free: 6.418 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001885/0.03209, allocations: 1.903 MB / 0.5493 GB, free: 4.512 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008658/0.03296, allocations: 1.034 MB / 0.5503 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.03309, allocations: 108 kB / 0.5504 GB, free: 3.371 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000539/0.03363, allocations: 323.5 kB / 0.5507 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002549/0.03388, allocations: 414.1 kB / 0.5511 GB, free: 2.648 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.000417/0.0343, allocations: 0.5666 MB / 0.5516 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001176/0.03548, allocations: 1.409 MB / 0.553 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.03548, allocations: 0 / 0.553 GB, free: 0.668 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.033e-06/0.03548, allocations: 3.984 kB / 0.553 GB, free: 0.6641 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.464e-05/0.0355, allocations: 0.875 kB / 0.553 GB, free: 0.6641 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.002009/0.03751, allocations: 2.106 MB / 0.5551 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.03754, allocations: 8.031 kB / 0.5551 GB, free: 14.49 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001375/0.03892, allocations: 0.6017 MB / 0.5557 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.04007, allocations: 1.149 MB / 0.5568 GB, free: 12.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.253e-05/0.04012, allocations: 83.27 kB / 0.5569 GB, free: 12.63 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001133/0.04023, allocations: 108 kB / 0.557 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001366/0.0416, allocations: 1.276 MB / 0.5582 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.309e-05/0.04162, allocations: 14.53 kB / 0.5582 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.567e-05/0.04169, allocations: 47.98 kB / 0.5583 GB, free: 10.99 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.962e-05/0.04171, allocations: 28 kB / 0.5583 GB, free: 10.96 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007714/0.04248, allocations: 0.5619 MB / 0.5589 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004638/0.04712, allocations: 7.913 MB / 0.5666 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.04816, allocations: 0.5548 MB / 0.5671 GB, free: 1.684 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/0.04845, allocations: 226.9 kB / 0.5674 GB, free: 1.461 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002319/0.04869, allocations: 82.92 kB / 0.5674 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004652/0.04915, allocations: 375.2 kB / 0.5678 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=85): time 2.003e-06/0.04915, allocations: 0 / 0.5678 GB, free: 1.004 MB / 0.5261 GB Notification: Performance of matching and sorting (n=85): time 0.001247/0.0504, allocations: 0.9054 MB / 0.5687 GB, free: 96 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/0.05044, allocations: 60.41 kB / 0.5687 GB, free: 24 kB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/0.05147, allocations: 1.241 MB / 0.5699 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.796e-05/0.05153, allocations: 41.7 kB / 0.57 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004143/0.05194, allocations: 0.8734 MB / 0.5708 GB, free: 13.82 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.0521, allocations: 311 kB / 0.5711 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001997/0.0523, allocations: 228.5 kB / 0.5713 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.05242, allocations: 0.516 MB / 0.5719 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003078/0.05273, allocations: 200.1 kB / 0.572 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000843/0.05357, allocations: 0.9462 MB / 0.573 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008157/0.05439, allocations: 0.9278 MB / 0.5739 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.05439, allocations: 5.125 kB / 0.5739 GB, free: 10.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.001144/0.05554, allocations: 1.018 MB / 0.5749 GB, free: 9.199 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.05556, allocations: 8 kB / 0.5749 GB, free: 9.191 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.05557, allocations: 15.98 kB / 0.5749 GB, free: 9.176 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.05559, allocations: 16.75 kB / 0.5749 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005821/0.05617, allocations: 307.5 kB / 0.5752 GB, free: 8.859 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.642e-05/0.05619, allocations: 23.92 kB / 0.5752 GB, free: 8.836 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004607/0.05665, allocations: 155.1 kB / 0.5754 GB, free: 8.684 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.589e-05/0.05672, allocations: 67.97 kB / 0.5754 GB, free: 8.617 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.0002343/0.05696, allocations: 242.1 kB / 0.5757 GB, free: 8.371 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.05713, allocations: 198.9 kB / 0.5759 GB, free: 8.176 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001444/0.05857, allocations: 1.236 MB / 0.5771 GB, free: 6.961 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.05859, allocations: 19.98 kB / 0.5771 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/0.05859, allocations: 0 / 0.5771 GB, free: 6.941 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.0586, allocations: 3.984 kB / 0.5771 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002506/0.0611, allocations: 2.353 MB / 0.5794 GB, free: 4.473 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.132e-06/0.06111, allocations: 7.984 kB / 0.5794 GB, free: 4.465 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004504/0.06156, allocations: 179.9 kB / 0.5796 GB, free: 4.289 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.218e-06/0.06157, allocations: 19.86 kB / 0.5796 GB, free: 4.27 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.771e-05/0.06162, allocations: 31.97 kB / 0.5796 GB, free: 4.238 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.06162, allocations: 4 kB / 0.5796 GB, free: 4.234 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.06162, allocations: 4 kB / 0.5796 GB, free: 4.23 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.06309, allocations: 1.41 MB / 0.581 GB, free: 2.773 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002734/0.06336, allocations: 286.3 kB / 0.5813 GB, free: 2.492 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.06347, allocations: 20 kB / 0.5813 GB, free: 2.473 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000347/0.06381, allocations: 71.94 kB / 0.5814 GB, free: 2.402 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.379e-05/0.06391, allocations: 76.86 kB / 0.5814 GB, free: 2.328 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.568e-05/0.06396, allocations: 43.97 kB / 0.5815 GB, free: 2.285 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005549/0.06452, allocations: 0.7412 MB / 0.5822 GB, free: 1.547 MB / 0.5417 GB Notification: Performance of sort global known variables: time 8e-08/0.06452, allocations: 4 kB / 0.5822 GB, free: 1.543 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006796/0.0652, allocations: 427.2 kB / 0.5826 GB, free: 1.125 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.001004/0.0662, allocations: 493.9 kB / 0.5831 GB, free: 0.8125 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008977/0.0671, allocations: 0.7407 MB / 0.5838 GB, free: 76 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.0671, allocations: 0 / 0.5838 GB, free: 76 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004532/0.06756, allocations: 407.7 kB / 0.5842 GB, free: 15.67 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001346/0.0689, allocations: 0.6461 MB / 0.5848 GB, free: 15.05 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.07193, allocations: 2.548 MB / 0.5873 GB, free: 12.42 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.07211, allocations: 310.4 kB / 0.5876 GB, free: 12.1 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006092/0.07272, allocations: 331.4 kB / 0.5879 GB, free: 11.79 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002712/0.07299, allocations: 160.4 kB / 0.5881 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of SimCode: time 8.02e-07/0.073, allocations: 0 / 0.5881 GB, free: 11.63 MB / 0.5573 GB Notification: Performance of Templates: time 0.03255/0.1055, allocations: 28.25 MB / 0.6157 GB, free: 88 kB / 0.573 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.3342117089778185]