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.0009116/0.0009116, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009161/0.0009161, allocations: 173 kB / 23.49 MB, free: 1.055 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.9944/0.9944, allocations: 177.1 MB / 203.8 MB, free: 5.652 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.8047/0.8047, allocations: 154.8 MB / 415.1 MB, free: 496 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 2.244e-06/2.244e-06, allocations: 0 / 0.5206 GB, free: 2.23 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.473e-05/3.697e-05, allocations: 5.922 kB / 0.5206 GB, free: 2.227 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03983/0.03986, allocations: 56.66 MB / 0.576 GB, free: 9.551 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.01195/0.05182, allocations: 10.75 MB / 0.5865 GB, free: 14.81 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009951/0.05281, allocations: 95.12 kB / 0.5865 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.05439, allocations: 0.9239 MB / 0.5874 GB, free: 13.79 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003063/0.05745, allocations: 2.129 MB / 0.5895 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00324/0.06069, allocations: 2.169 MB / 0.5916 GB, free: 9.469 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003138/0.06383, allocations: 3.861 MB / 0.5954 GB, free: 5.594 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009365/0.06477, allocations: 1.037 MB / 0.5964 GB, free: 4.539 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002348/0.06711, allocations: 2.468 MB / 0.5988 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008584/0.06797, allocations: 1.075 MB / 0.5999 GB, free: 0.9844 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001159/0.06809, allocations: 108 kB / 0.6 GB, free: 0.8789 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001444/0.06953, allocations: 1.052 MB / 0.601 GB, free: 15.82 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003303/0.06986, allocations: 418.2 kB / 0.6014 GB, free: 15.41 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004086/0.07027, allocations: 0.5688 MB / 0.602 GB, free: 14.84 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.001656/0.07193, allocations: 1.977 MB / 0.6039 GB, free: 12.86 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.07193, allocations: 0 / 0.6039 GB, free: 12.86 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.553e-06/0.07193, allocations: 0 / 0.6039 GB, free: 12.86 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.07195, allocations: 4 kB / 0.6039 GB, free: 12.85 MB / 0.573 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.002024/0.07397, allocations: 2.207 MB / 0.6061 GB, free: 10.59 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.07401, allocations: 12.03 kB / 0.6061 GB, free: 10.57 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001525/0.07553, allocations: 0.6388 MB / 0.6067 GB, free: 9.934 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00115/0.07668, allocations: 1.142 MB / 0.6078 GB, free: 8.738 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.129e-05/0.07673, allocations: 90.14 kB / 0.6079 GB, free: 8.648 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001097/0.07684, allocations: 108 kB / 0.608 GB, free: 8.543 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001486/0.07833, allocations: 1.306 MB / 0.6093 GB, free: 7.035 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.07835, allocations: 7.938 kB / 0.6093 GB, free: 7.027 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.9e-05/0.07842, allocations: 44 kB / 0.6093 GB, free: 6.984 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.07844, allocations: 28 kB / 0.6094 GB, free: 6.957 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008211/0.07926, allocations: 0.5733 MB / 0.6099 GB, free: 6.379 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004547/0.08381, allocations: 7.96 MB / 0.6177 GB, free: 14.15 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001073/0.08488, allocations: 0.5722 MB / 0.6182 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003179/0.0852, allocations: 229.5 kB / 0.6185 GB, free: 13.34 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004787/0.08568, allocations: 277.3 kB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004963/0.08618, allocations: 390.2 kB / 0.6191 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=85): time 2.645e-06/0.08618, allocations: 0 / 0.6191 GB, free: 12.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=85): time 0.00136/0.08754, allocations: 0.9133 MB / 0.62 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.802e-05/0.08758, allocations: 68.39 kB / 0.6201 GB, free: 11.68 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000928/0.0885, allocations: 1.24 MB / 0.6213 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.558e-05/0.08856, allocations: 53.64 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004369/0.089, allocations: 0.8695 MB / 0.6222 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/0.08924, allocations: 305.4 kB / 0.6225 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002106/0.08945, allocations: 236.5 kB / 0.6227 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.08958, allocations: 0.516 MB / 0.6232 GB, free: 8.41 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003259/0.0899, allocations: 202.5 kB / 0.6234 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000629/0.09053, allocations: 0.944 MB / 0.6243 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009596/0.09149, allocations: 0.9396 MB / 0.6252 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.0915, allocations: 4 kB / 0.6252 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.00128/0.09278, allocations: 1.028 MB / 0.6262 GB, free: 4.797 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.0928, allocations: 8 kB / 0.6262 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.225e-05/0.09281, allocations: 12 kB / 0.6262 GB, free: 4.777 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/0.09284, allocations: 16 kB / 0.6263 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006433/0.09348, allocations: 307.9 kB / 0.6266 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.183e-05/0.09351, allocations: 31.86 kB / 0.6266 GB, free: 4.43 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004988/0.094, allocations: 163.2 kB / 0.6267 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.531e-05/0.09409, allocations: 63.97 kB / 0.6268 GB, free: 4.207 MB / 0.5886 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.0002755/0.09437, allocations: 238.1 kB / 0.627 GB, free: 3.965 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001915/0.09456, allocations: 191 kB / 0.6272 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.09635, allocations: 1.361 MB / 0.6285 GB, free: 2.445 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.021e-05/0.09637, allocations: 15.98 kB / 0.6286 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.09637, allocations: 0 / 0.6286 GB, free: 2.43 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.053e-05/0.09639, allocations: 7.969 kB / 0.6286 GB, free: 2.422 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002477/0.09886, allocations: 2.263 MB / 0.6308 GB, free: 88 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.09887, allocations: 4 kB / 0.6308 GB, free: 84 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005068/0.09938, allocations: 207.8 kB / 0.631 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.09938, allocations: 7.984 kB / 0.631 GB, free: 15.87 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.113e-05/0.09943, allocations: 31.97 kB / 0.631 GB, free: 15.84 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.09944, allocations: 8 kB / 0.631 GB, free: 15.83 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.09944, allocations: 11.88 kB / 0.631 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00172/0.1012, allocations: 1.502 MB / 0.6325 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.1015, allocations: 310.3 kB / 0.6328 GB, free: 13.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.1016, allocations: 24 kB / 0.6328 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000391/0.102, allocations: 83.86 kB / 0.6329 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.1021, allocations: 84.78 kB / 0.633 GB, free: 13.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.032e-05/0.1022, allocations: 47.97 kB / 0.633 GB, free: 13.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0005878/0.1027, allocations: 0.7412 MB / 0.6338 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6e-08/0.1027, allocations: 0 / 0.6338 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009748/0.1037, allocations: 0.5729 MB / 0.6343 GB, free: 12.41 MB / 0.6042 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.001476/0.1052, allocations: 0.8214 MB / 0.6351 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0009979/0.1062, allocations: 0.7647 MB / 0.6359 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1062, allocations: 0 / 0.6359 GB, free: 11.01 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006344/0.1068, allocations: 445.4 kB / 0.6363 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001474/0.1083, allocations: 0.6442 MB / 0.6369 GB, free: 9.953 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002931/0.1112, allocations: 2.653 MB / 0.6395 GB, free: 7.227 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001968/0.1114, allocations: 310.6 kB / 0.6398 GB, free: 6.895 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006302/0.1121, allocations: 337.9 kB / 0.6401 GB, free: 6.582 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000271/0.1123, allocations: 160.4 kB / 0.6403 GB, free: 6.426 MB / 0.6042 GB Notification: Performance of SimCode: time 1.213e-06/0.1123, allocations: 0 / 0.6403 GB, free: 6.426 MB / 0.6042 GB Notification: Performance of Templates: time 0.03651/0.1488, allocations: 30.6 MB / 0.6702 GB, free: 8.543 MB / 0.6355 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.773970474023372]