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.001337/0.001337, allocations: 80.28 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001716/0.001716, allocations: 163.1 kB / 22.46 MB, free: 5.355 MB / 14.72 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 1.429/1.429, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.228/1.228, allocations: 154.6 MB / 413.7 MB, free: 5.316 MB / 382.1 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 178] 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.543e-06/1.543e-06, allocations: 0 / 0.6186 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.527e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.625 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.05614/0.05616, allocations: 50 MB / 0.6674 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01556/0.07172, allocations: 9.786 MB / 0.6769 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.07347, allocations: 95.12 kB / 0.677 GB, free: 8.566 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002442/0.07591, allocations: 0.916 MB / 0.6779 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.005784/0.0817, allocations: 2.129 MB / 0.68 GB, free: 5.504 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005598/0.0873, allocations: 2.174 MB / 0.6821 GB, free: 3.332 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005474/0.09277, allocations: 3.857 MB / 0.6859 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001725/0.09449, allocations: 0.99 MB / 0.6869 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004603/0.0991, allocations: 2.476 MB / 0.6893 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.1008, allocations: 1.055 MB / 0.6903 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002148/0.1011, allocations: 108 kB / 0.6904 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002472/0.1035, allocations: 1.052 MB / 0.6914 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004305/0.104, allocations: 418.2 kB / 0.6918 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009304/0.1049, allocations: 0.5688 MB / 0.6924 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003846/0.1087, allocations: 2.434 MB / 0.6948 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1087, allocations: 0 / 0.6948 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.132e-06/0.1087, allocations: 0 / 0.6948 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.049e-05/0.1088, allocations: 0 / 0.6948 GB, free: 6.316 MB / 0.6075 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.003569/0.1123, allocations: 2.11 MB / 0.6968 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.1124, allocations: 12.03 kB / 0.6968 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003803/0.1162, allocations: 0.666 MB / 0.6975 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/0.1182, allocations: 1.08 MB / 0.6985 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-05/0.1183, allocations: 82.14 kB / 0.6986 GB, free: 2.273 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/0.1185, allocations: 115.9 kB / 0.6987 GB, free: 2.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003271/0.1218, allocations: 1.501 MB / 0.7002 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.815e-05/0.1218, allocations: 3.938 kB / 0.7002 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.1219, allocations: 55.98 kB / 0.7003 GB, free: 456 kB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.976e-05/0.122, allocations: 28 kB / 0.7003 GB, free: 428 kB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2845/0.4065, allocations: 1.231 MB / 0.7015 GB, free: 89.09 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008189/0.4147, allocations: 6.387 MB / 0.7077 GB, free: 84.6 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003314/0.418, allocations: 1.068 MB / 0.7088 GB, free: 84.33 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.4195, allocations: 0.5304 MB / 0.7093 GB, free: 84.19 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009292/0.4205, allocations: 281.9 kB / 0.7096 GB, free: 84.14 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001835/0.4223, allocations: 0.6875 MB / 0.7102 GB, free: 83.94 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=85): time 3.006e-06/0.4223, allocations: 0 / 0.7102 GB, free: 83.94 MB / 0.6075 GB Notification: Performance of matching and sorting (n=85): time 0.005456/0.4277, allocations: 1.807 MB / 0.712 GB, free: 83.44 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.4278, allocations: 64.09 kB / 0.7121 GB, free: 83.38 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.4294, allocations: 1.404 MB / 0.7134 GB, free: 82.87 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.585e-05/0.4295, allocations: 44.02 kB / 0.7135 GB, free: 82.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004756/0.4299, allocations: 0.8114 MB / 0.7143 GB, free: 82.24 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002095/0.4301, allocations: 312.7 kB / 0.7146 GB, free: 82.04 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003206/0.4305, allocations: 218.5 kB / 0.7148 GB, free: 81.95 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.651e-05/0.4305, allocations: 352.6 kB / 0.7151 GB, free: 81.62 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001586/0.4321, allocations: 0.5199 MB / 0.7156 GB, free: 81.5 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001816/0.4339, allocations: 1.136 MB / 0.7167 GB, free: 80.63 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003375/0.4373, allocations: 1.43 MB / 0.7181 GB, free: 79.86 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.496e-06/0.4373, allocations: 2.562 kB / 0.7181 GB, free: 79.86 MB / 0.6075 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004269/0.4416, allocations: 1.615 MB / 0.7197 GB, free: 79.33 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.519e-05/0.4416, allocations: 13.38 kB / 0.7197 GB, free: 79.33 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.4416, allocations: 10.53 kB / 0.7197 GB, free: 79.33 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.232e-05/0.4417, allocations: 19.06 kB / 0.7197 GB, free: 79.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001499/0.4432, allocations: 345.7 kB / 0.7201 GB, free: 79.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.838e-05/0.4432, allocations: 28.17 kB / 0.7201 GB, free: 79.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001483/0.4447, allocations: 205.2 kB / 0.7203 GB, free: 79.24 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/0.4449, allocations: 65.91 kB / 0.7204 GB, free: 79.23 MB / 0.6075 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.0006591/0.4455, allocations: 351.2 kB / 0.7207 GB, free: 79 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002695/0.4458, allocations: 169.5 kB / 0.7208 GB, free: 78.91 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005104/0.4509, allocations: 2.165 MB / 0.723 GB, free: 78.28 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.345e-05/0.4509, allocations: 26.14 kB / 0.723 GB, free: 78.27 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4509, allocations: 0 / 0.723 GB, free: 78.27 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.567e-05/0.4509, allocations: 6.703 kB / 0.723 GB, free: 78.27 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006131/0.4571, allocations: 3.123 MB / 0.726 GB, free: 77.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/0.4571, allocations: 2.375 kB / 0.726 GB, free: 77.06 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001172/0.4583, allocations: 248.7 kB / 0.7263 GB, free: 77.03 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-06/0.4583, allocations: 5.688 kB / 0.7263 GB, free: 77.03 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.555e-05/0.4583, allocations: 42.73 kB / 0.7263 GB, free: 77.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/0.4584, allocations: 5.156 kB / 0.7263 GB, free: 77.02 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.4584, allocations: 2.469 kB / 0.7263 GB, free: 77.02 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006404/0.4648, allocations: 2.807 MB / 0.7291 GB, free: 75.95 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006098/0.4654, allocations: 310.5 kB / 0.7294 GB, free: 75.8 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001959/0.4656, allocations: 27.91 kB / 0.7294 GB, free: 75.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.4666, allocations: 121.2 kB / 0.7295 GB, free: 75.76 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001433/0.4668, allocations: 85.2 kB / 0.7296 GB, free: 75.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.4669, allocations: 47.8 kB / 0.7296 GB, free: 75.74 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001164/0.4681, allocations: 0.9343 MB / 0.7306 GB, free: 75.27 MB / 0.6075 GB Notification: Performance of sort global known variables: time 8e-08/0.4681, allocations: 96 / 0.7306 GB, free: 75.27 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001612/0.4697, allocations: 0.573 MB / 0.7311 GB, free: 75.16 MB / 0.6075 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 (116): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 25 * 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.002263/0.4719, allocations: 0.8632 MB / 0.732 GB, free: 74.86 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003804/0.4757, allocations: 1.455 MB / 0.7334 GB, free: 74.22 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.4757, allocations: 0 / 0.7334 GB, free: 74.22 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001857/0.4776, allocations: 0.7796 MB / 0.7341 GB, free: 73.88 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/0.4803, allocations: 0.611 MB / 0.7347 GB, free: 73.56 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005215/0.4856, allocations: 3.136 MB / 0.7378 GB, free: 71.76 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.4861, allocations: 0.7378 MB / 0.7385 GB, free: 71.37 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001152/0.4873, allocations: 356.6 kB / 0.7389 GB, free: 71.21 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003706/0.4877, allocations: 154.7 kB / 0.739 GB, free: 71.17 MB / 0.6075 GB Notification: Performance of SimCode: time 8.82e-07/0.4877, allocations: 4 kB / 0.739 GB, free: 71.16 MB / 0.6075 GB Notification: Performance of Templates: time 0.0389/0.5266, allocations: 30.36 MB / 0.7687 GB, free: 42.82 MB / 0.6075 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.218390170484781] Failed to read output from testmodel.py, exit status != 0: 0.534968726336956 0.54388318 0.432800509 Calling exit ...