Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.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.0008856/0.0008856, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.0007985/0.0007985, allocations: 174.3 kB / 23.21 MB, free: 1.352 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.8994/0.8994, allocations: 177.1 MB / 203.5 MB, free: 5.758 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-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 0.7617/0.7617, allocations: 154.5 MB / 414.5 MB, free: 0.8594 MB / 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,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.545e-06/2.545e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.853e-05/4.108e-05, allocations: 5.234 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5811/0.5811, allocations: 214.2 MB / 0.8285 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01162/0.5928, allocations: 8.08 MB / 0.8364 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001697/0.5945, allocations: 97.91 kB / 0.8365 GB, free: 3.805 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002044/0.5965, allocations: 1.061 MB / 0.8376 GB, free: 2.98 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.006234/0.6027, allocations: 3.304 MB / 0.8408 GB, free: 472 kB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.006523/0.6093, allocations: 3.683 MB / 0.8444 GB, free: 12.95 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003874/0.6131, allocations: 4.083 MB / 0.8484 GB, free: 8.852 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001113/0.6143, allocations: 1.15 MB / 0.8495 GB, free: 7.672 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003223/0.6175, allocations: 2.855 MB / 0.8523 GB, free: 4.809 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.6185, allocations: 1.274 MB / 0.8535 GB, free: 3.531 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001375/0.6186, allocations: 136 kB / 0.8537 GB, free: 3.398 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004606/0.6232, allocations: 3.232 MB / 0.8568 GB, free: 160 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003991/0.6236, allocations: 0.6542 MB / 0.8575 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000486/0.6241, allocations: 0.6819 MB / 0.8581 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003444/0.6276, allocations: 3.914 MB / 0.8619 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6276, allocations: 0 / 0.8619 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6276, allocations: 0 / 0.8619 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.627e-05/0.6276, allocations: 6 kB / 0.8619 GB, free: 10.88 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003368/0.631, allocations: 2.662 MB / 0.8645 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.631, allocations: 13.41 kB / 0.8646 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003895/0.6349, allocations: 1.333 MB / 0.8659 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001498/0.6364, allocations: 1.162 MB / 0.867 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.449e-05/0.6365, allocations: 106.6 kB / 0.8671 GB, free: 5.508 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001644/0.6366, allocations: 128 kB / 0.8672 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002698/0.6393, allocations: 2.086 MB / 0.8693 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.46e-05/0.6394, allocations: 4 kB / 0.8693 GB, free: 3.191 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.6395, allocations: 52 kB / 0.8693 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.652e-05/0.6395, allocations: 62.41 kB / 0.8694 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003349/0.6429, allocations: 2.191 MB / 0.8715 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006304/0.6492, allocations: 6.22 MB / 0.8776 GB, free: 10.51 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00296/0.6521, allocations: 1.824 MB / 0.8794 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/0.6535, allocations: 0.9366 MB / 0.8803 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000533/0.654, allocations: 200.8 kB / 0.8805 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001552/0.6556, allocations: 1.075 MB / 0.8815 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=119): time 3.376e-06/0.6556, allocations: 0 / 0.8815 GB, free: 6.465 MB / 0.7292 GB Notification: Performance of matching and sorting (n=119): time 0.004719/0.6603, allocations: 2.865 MB / 0.8843 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.747e-05/0.6603, allocations: 68.41 kB / 0.8844 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.6618, allocations: 1.379 MB / 0.8857 GB, free: 2.117 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.823e-05/0.6619, allocations: 47.02 kB / 0.8858 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005177/0.6624, allocations: 0.8428 MB / 0.8866 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002749/0.6627, allocations: 428.3 kB / 0.887 GB, free: 0.793 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002936/0.6629, allocations: 238.9 kB / 0.8872 GB, free: 0.5547 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.6631, allocations: 361.9 kB / 0.8876 GB, free: 200 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/0.6644, allocations: 0.8299 MB / 0.8884 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001558/0.6659, allocations: 1.368 MB / 0.8897 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002725/0.6687, allocations: 1.934 MB / 0.8916 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.682e-06/0.6687, allocations: 4 kB / 0.8916 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.003344/0.672, allocations: 2.191 MB / 0.8938 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.6721, allocations: 8 kB / 0.8938 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.6721, allocations: 8 kB / 0.8938 GB, free: 9.566 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.085e-05/0.6721, allocations: 12 kB / 0.8938 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.6732, allocations: 415.6 kB / 0.8942 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.898e-05/0.6732, allocations: 23.14 kB / 0.8942 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009352/0.6741, allocations: 260.2 kB / 0.8945 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.162e-05/0.6742, allocations: 63.97 kB / 0.8945 GB, free: 8.812 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (161): * Single equations (assignments): 161 * 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.0005244/0.6747, allocations: 400.3 kB / 0.8949 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000164/0.6749, allocations: 166.9 kB / 0.8951 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003178/0.6781, allocations: 2.196 MB / 0.8972 GB, free: 6.035 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.308e-06/0.6781, allocations: 16 kB / 0.8972 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.6781, allocations: 3.938 kB / 0.8972 GB, free: 6.016 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.6781, allocations: 11.97 kB / 0.8972 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005298/0.6834, allocations: 4.168 MB / 0.9013 GB, free: 1.707 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.6834, allocations: 4 kB / 0.9013 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008735/0.6843, allocations: 348.6 kB / 0.9016 GB, free: 1.363 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.345e-05/0.6843, allocations: 15.94 kB / 0.9017 GB, free: 1.348 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.09e-05/0.6844, allocations: 43.97 kB / 0.9017 GB, free: 1.305 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.6844, allocations: 11.98 kB / 0.9017 GB, free: 1.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.6844, allocations: 11.94 kB / 0.9017 GB, free: 1.281 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004454/0.6888, allocations: 3.476 MB / 0.9051 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003987/0.6892, allocations: 318.4 kB / 0.9054 GB, free: 13.39 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/0.6894, allocations: 35.98 kB / 0.9054 GB, free: 13.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007041/0.6901, allocations: 171.6 kB / 0.9056 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001342/0.6902, allocations: 104.7 kB / 0.9057 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-05/0.6903, allocations: 51.97 kB / 0.9058 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000871/0.6911, allocations: 0.9241 MB / 0.9067 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9e-08/0.6911, allocations: 0 / 0.9067 GB, free: 12.11 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0009916/0.6921, allocations: 0.5186 MB / 0.9072 GB, free: 11.59 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * 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 (125): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001103/0.6932, allocations: 0.6098 MB / 0.9078 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.002834/0.6961, allocations: 1.919 MB / 0.9096 GB, free: 9.289 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.6961, allocations: 0 / 0.9096 GB, free: 9.289 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001387/0.6975, allocations: 0.9791 MB / 0.9106 GB, free: 8.312 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001684/0.6991, allocations: 0.7208 MB / 0.9113 GB, free: 7.625 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006037/0.7052, allocations: 4.217 MB / 0.9154 GB, free: 3.281 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000535/0.7057, allocations: 0.8066 MB / 0.9162 GB, free: 2.43 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004786/0.7062, allocations: 160.4 kB / 0.9164 GB, free: 2.273 MB / 0.7605 GB Notification: Performance of SimCode: time 9.02e-07/0.7062, allocations: 0 / 0.9164 GB, free: 2.273 MB / 0.7605 GB Notification: Performance of Templates: time 0.02536/0.7315, allocations: 28.54 MB / 0.9442 GB, free: 6.012 MB / 0.7917 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.894678561016917] Failed to read output from testmodel.py, exit status != 0: 0.739755779504776 0.74703737 0.117623419 Calling exit ...