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.001371/0.001371, allocations: 88.72 kB / 19.44 MB, free: 356 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.001556/0.001556, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.455/1.455, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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-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 1.203/1.203, allocations: 154.8 MB / 414.3 MB, free: 460 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 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,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 1.883e-06/1.883e-06, allocations: 0 / 0.5199 GB, free: 1.164 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.939e-05/3.127e-05, allocations: 4.797 kB / 0.5199 GB, free: 1.16 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.5647/0.5648, allocations: 214.2 MB / 0.7291 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01205/0.5768, allocations: 8.091 MB / 0.737 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002204/0.579, allocations: 92.12 kB / 0.7371 GB, free: 0.9648 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.5814, allocations: 1.059 MB / 0.7381 GB, free: 416 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.008876/0.5903, allocations: 3.302 MB / 0.7414 GB, free: 14.12 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.009361/0.5997, allocations: 3.687 MB / 0.745 GB, free: 11.55 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.005959/0.6056, allocations: 4.097 MB / 0.749 GB, free: 9.148 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002396/0.608, allocations: 1.173 MB / 0.7501 GB, free: 8.301 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006474/0.6145, allocations: 2.859 MB / 0.7529 GB, free: 6.367 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003231/0.6177, allocations: 1.274 MB / 0.7542 GB, free: 5.09 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.000494/0.6182, allocations: 136 kB / 0.7543 GB, free: 4.957 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009636/0.6279, allocations: 3.236 MB / 0.7574 GB, free: 1.762 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001025/0.6289, allocations: 0.654 MB / 0.7581 GB, free: 1.105 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.001348/0.6302, allocations: 0.6858 MB / 0.7588 GB, free: 428 kB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.008673/0.6389, allocations: 3.925 MB / 0.7626 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.6389, allocations: 4 kB / 0.7626 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6389, allocations: 0 / 0.7626 GB, free: 12.55 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.869e-05/0.6389, allocations: 0 / 0.7626 GB, free: 12.55 MB / 0.5886 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.006836/0.6458, allocations: 2.657 MB / 0.7652 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.707e-05/0.6458, allocations: 16.02 kB / 0.7652 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009602/0.6554, allocations: 1.591 MB / 0.7668 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002996/0.6584, allocations: 1.245 MB / 0.768 GB, free: 6.984 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001157/0.6585, allocations: 102.6 kB / 0.7681 GB, free: 6.883 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002716/0.6588, allocations: 132 kB / 0.7682 GB, free: 6.754 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005112/0.6639, allocations: 2.086 MB / 0.7702 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.664, allocations: 2.531 kB / 0.7702 GB, free: 4.578 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001763/0.6641, allocations: 56 kB / 0.7703 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.631e-05/0.6642, allocations: 66.41 kB / 0.7703 GB, free: 4.457 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006468/0.6707, allocations: 2.18 MB / 0.7725 GB, free: 2.289 MB / 0.5886 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01233/0.683, allocations: 6.283 MB / 0.7786 GB, free: 11.95 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00554/0.6886, allocations: 1.812 MB / 0.7804 GB, free: 10.14 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002785/0.6914, allocations: 0.9335 MB / 0.7813 GB, free: 9.203 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/0.6924, allocations: 208.8 kB / 0.7815 GB, free: 8.996 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003194/0.6956, allocations: 1.067 MB / 0.7825 GB, free: 7.922 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=119): time 3.737e-06/0.6956, allocations: 6.531 kB / 0.7825 GB, free: 7.918 MB / 0.6042 GB Notification: Performance of matching and sorting (n=119): time 0.009417/0.705, allocations: 2.927 MB / 0.7854 GB, free: 4.984 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.341e-05/0.7051, allocations: 68.41 kB / 0.7855 GB, free: 4.902 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/0.7073, allocations: 1.378 MB / 0.7868 GB, free: 3.508 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001388/0.7074, allocations: 45.7 kB / 0.7869 GB, free: 3.457 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008379/0.7082, allocations: 0.8427 MB / 0.7877 GB, free: 2.605 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004891/0.7087, allocations: 432.3 kB / 0.7881 GB, free: 2.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000485/0.7092, allocations: 238.9 kB / 0.7883 GB, free: 1.941 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002425/0.7095, allocations: 361.9 kB / 0.7887 GB, free: 1.582 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002648/0.7121, allocations: 0.8222 MB / 0.7895 GB, free: 0.7578 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003211/0.7153, allocations: 1.371 MB / 0.7908 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005628/0.7209, allocations: 1.941 MB / 0.7927 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.189e-05/0.7209, allocations: 0 / 0.7927 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006971/0.7279, allocations: 2.238 MB / 0.7949 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.728, allocations: 10.53 kB / 0.7949 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-05/0.728, allocations: 8.906 kB / 0.7949 GB, free: 11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.886e-05/0.728, allocations: 12 kB / 0.7949 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/0.7303, allocations: 417.5 kB / 0.7953 GB, free: 10.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.843e-05/0.7303, allocations: 18.53 kB / 0.7953 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002364/0.7327, allocations: 250.9 kB / 0.7956 GB, free: 10.33 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001649/0.7328, allocations: 63.97 kB / 0.7956 GB, free: 10.27 MB / 0.6198 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.0008526/0.7337, allocations: 408.1 kB / 0.796 GB, free: 9.883 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005739/0.7343, allocations: 202.9 kB / 0.7962 GB, free: 9.684 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006711/0.741, allocations: 2.194 MB / 0.7984 GB, free: 7.477 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.131e-05/0.741, allocations: 14.94 kB / 0.7984 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.674e-06/0.741, allocations: 0 / 0.7984 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.741, allocations: 7.984 kB / 0.7984 GB, free: 7.457 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/0.7519, allocations: 4.186 MB / 0.8025 GB, free: 3.188 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.507e-05/0.752, allocations: 4 kB / 0.8025 GB, free: 3.184 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002388/0.7543, allocations: 341 kB / 0.8028 GB, free: 2.863 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.03e-05/0.7544, allocations: 18.56 kB / 0.8028 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.7545, allocations: 43.97 kB / 0.8029 GB, free: 2.805 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.916e-05/0.7545, allocations: 22.52 kB / 0.8029 GB, free: 2.785 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.7545, allocations: 10.53 kB / 0.8029 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009696/0.7642, allocations: 3.507 MB / 0.8063 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00102/0.7652, allocations: 318.4 kB / 0.8066 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003376/0.7656, allocations: 31.98 kB / 0.8066 GB, free: 14.83 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001792/0.7674, allocations: 171.8 kB / 0.8068 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002507/0.7676, allocations: 97.84 kB / 0.8069 GB, free: 14.57 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001473/0.7678, allocations: 51.97 kB / 0.8069 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0015/0.7693, allocations: 0.9319 MB / 0.8079 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8e-08/0.7693, allocations: 0 / 0.8079 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001695/0.771, allocations: 0.5225 MB / 0.8084 GB, free: 13.07 MB / 0.6355 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.002406/0.7734, allocations: 0.6149 MB / 0.809 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006258/0.7796, allocations: 1.919 MB / 0.8108 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.7796, allocations: 0 / 0.8108 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002964/0.7826, allocations: 0.9794 MB / 0.8118 GB, free: 9.863 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003894/0.7865, allocations: 0.7804 MB / 0.8126 GB, free: 9.113 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/0.7998, allocations: 4.19 MB / 0.8167 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001424/0.8013, allocations: 0.8145 MB / 0.8174 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002094/0.8034, allocations: 432 kB / 0.8179 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006076/0.804, allocations: 140.4 kB / 0.818 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/0.804, allocations: 0 / 0.818 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of Templates: time 0.05993/0.8639, allocations: 29.95 MB / 0.8472 GB, free: 6.23 MB / 0.6667 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: 7.644880993990228]