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.001357/0.001357, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001166/0.001166, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9832/0.9832, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.8046/0.8046, allocations: 154.9 MB / 415.9 MB, free: 268 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,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.563e-06/1.563e-06, allocations: 0 / 0.5219 GB, free: 1.516 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.815e-05, allocations: 4.891 kB / 0.5219 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.132/0.132, allocations: 151.2 MB / 0.6695 GB, free: 9.996 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.009141/0.1412, allocations: 4.978 MB / 0.6744 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.1429, allocations: 91.19 kB / 0.6745 GB, free: 4.922 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001242/0.1441, allocations: 0.6366 MB / 0.6751 GB, free: 4.281 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003333/0.1474, allocations: 1.806 MB / 0.6769 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002835/0.1503, allocations: 1.591 MB / 0.6784 GB, free: 0.8711 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.27/0.4203, allocations: 4.048 MB / 0.6824 GB, free: 50.16 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001668/0.4219, allocations: 1.176 MB / 0.6835 GB, free: 50.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002763/0.4247, allocations: 2.074 MB / 0.6856 GB, free: 50.09 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.4262, allocations: 1.201 MB / 0.6867 GB, free: 50.09 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003057/0.4265, allocations: 135.7 kB / 0.6869 GB, free: 50.09 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00101/0.4275, allocations: 488.4 kB / 0.6873 GB, free: 50.06 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004752/0.428, allocations: 0.658 MB / 0.688 GB, free: 49.96 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007709/0.4287, allocations: 0.6912 MB / 0.6886 GB, free: 49.88 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001736/0.4305, allocations: 1.751 MB / 0.6904 GB, free: 49.65 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.4305, allocations: 3.094 kB / 0.6904 GB, free: 49.65 MB / 0.6355 GB Notification: Performance of FrontEnd: time 9.42e-07/0.4305, allocations: 0 / 0.6904 GB, free: 49.65 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.433e-05/0.4305, allocations: 0 / 0.6904 GB, free: 49.65 MB / 0.6355 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.003172/0.4337, allocations: 2.478 MB / 0.6928 GB, free: 48.42 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.561e-05/0.4338, allocations: 11.41 kB / 0.6928 GB, free: 48.42 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003685/0.4374, allocations: 1.358 MB / 0.6941 GB, free: 48.18 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001488/0.4389, allocations: 1.198 MB / 0.6953 GB, free: 47.74 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.749e-05/0.439, allocations: 103.3 kB / 0.6954 GB, free: 47.74 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/0.4391, allocations: 135 kB / 0.6955 GB, free: 47.73 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001557/0.4407, allocations: 1.369 MB / 0.6969 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.4407, allocations: 4 kB / 0.6969 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.575e-05/0.4408, allocations: 65.69 kB / 0.6969 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.498e-05/0.4409, allocations: 62.39 kB / 0.697 GB, free: 47.36 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009793/0.4419, allocations: 0.7311 MB / 0.6977 GB, free: 47.31 MB / 0.6355 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.00501/0.4469, allocations: 6.332 MB / 0.7039 GB, free: 43.64 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.448, allocations: 0.7386 MB / 0.7046 GB, free: 43.58 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003442/0.4483, allocations: 302.7 kB / 0.7049 GB, free: 43.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002307/0.4485, allocations: 71.77 kB / 0.705 GB, free: 43.57 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005162/0.4491, allocations: 467.3 kB / 0.7054 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=119): time 3.567e-06/0.4491, allocations: 0.9375 kB / 0.7054 GB, free: 43.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=119): time 0.001848/0.4509, allocations: 1.11 MB / 0.7065 GB, free: 43.34 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.4509, allocations: 63.81 kB / 0.7065 GB, free: 43.28 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009398/0.4519, allocations: 1.185 MB / 0.7077 GB, free: 43.01 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.551e-05/0.452, allocations: 50.11 kB / 0.7077 GB, free: 42.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005099/0.4525, allocations: 0.9005 MB / 0.7086 GB, free: 42.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003358/0.4528, allocations: 443.8 kB / 0.7091 GB, free: 42.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/0.4531, allocations: 248.6 kB / 0.7093 GB, free: 42.31 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.795e-05/0.4532, allocations: 0.5334 MB / 0.7098 GB, free: 41.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.4536, allocations: 197.9 kB / 0.71 GB, free: 41.82 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005168/0.4541, allocations: 0.84 MB / 0.7108 GB, free: 41.08 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009919/0.4551, allocations: 0.8217 MB / 0.7116 GB, free: 40.64 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.805e-06/0.4551, allocations: 5.375 kB / 0.7116 GB, free: 40.64 MB / 0.6355 GB Notification: Performance of matching and sorting (n=161) (initialization): time 0.001841/0.4569, allocations: 1.002 MB / 0.7126 GB, free: 40.49 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.429e-05/0.457, allocations: 8.688 kB / 0.7126 GB, free: 40.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.33e-05/0.457, allocations: 8 kB / 0.7126 GB, free: 40.49 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.457, allocations: 14.62 kB / 0.7126 GB, free: 40.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009485/0.4579, allocations: 323.4 kB / 0.7129 GB, free: 40.49 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.057e-05/0.458, allocations: 21.8 kB / 0.713 GB, free: 40.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000813/0.4588, allocations: 161.9 kB / 0.7131 GB, free: 40.44 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.665e-05/0.4589, allocations: 54.78 kB / 0.7132 GB, free: 40.44 MB / 0.6355 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.0004006/0.4593, allocations: 249.8 kB / 0.7134 GB, free: 40.27 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002501/0.4595, allocations: 214.3 kB / 0.7136 GB, free: 40.17 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001414/0.4609, allocations: 0.9847 MB / 0.7146 GB, free: 40.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.568e-06/0.4609, allocations: 13.19 kB / 0.7146 GB, free: 40.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.4609, allocations: 1.906 kB / 0.7146 GB, free: 40.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/0.461, allocations: 6.469 kB / 0.7146 GB, free: 40.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003046/0.464, allocations: 2.228 MB / 0.7168 GB, free: 39.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.464, allocations: 6.031 kB / 0.7168 GB, free: 39.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007968/0.4648, allocations: 257.7 kB / 0.717 GB, free: 39.39 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/0.4648, allocations: 14.78 kB / 0.717 GB, free: 39.39 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.752e-05/0.4649, allocations: 44.78 kB / 0.7171 GB, free: 39.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.02e-05/0.4649, allocations: 16.19 kB / 0.7171 GB, free: 39.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-06/0.4649, allocations: 15.09 kB / 0.7171 GB, free: 39.39 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.4668, allocations: 1.552 MB / 0.7186 GB, free: 38.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004181/0.4672, allocations: 288.8 kB / 0.7189 GB, free: 38.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001718/0.4674, allocations: 31.59 kB / 0.7189 GB, free: 38.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006125/0.468, allocations: 84.44 kB / 0.719 GB, free: 38.61 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.4681, allocations: 106 kB / 0.7191 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.608e-05/0.4682, allocations: 46.69 kB / 0.7192 GB, free: 38.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005741/0.4688, allocations: 0.6726 MB / 0.7198 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1e-07/0.4688, allocations: 0.75 kB / 0.7198 GB, free: 38.45 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001231/0.47, allocations: 0.5032 MB / 0.7203 GB, free: 38.38 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.001081/0.4711, allocations: 456.2 kB / 0.7207 GB, free: 38.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001203/0.4723, allocations: 0.7259 MB / 0.7214 GB, free: 38.22 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.4723, allocations: 2.281 kB / 0.7215 GB, free: 38.22 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0005291/0.4728, allocations: 400.5 kB / 0.7218 GB, free: 38.21 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002025/0.4748, allocations: 0.7842 MB / 0.7226 GB, free: 38.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005769/0.4806, allocations: 3.607 MB / 0.7261 GB, free: 36.54 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.4809, allocations: 358.4 kB / 0.7265 GB, free: 36.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001249/0.4821, allocations: 308 kB / 0.7268 GB, free: 36.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/0.4834, allocations: 0.6252 MB / 0.7274 GB, free: 36.25 MB / 0.6355 GB Notification: Performance of SimCode: time 1.694e-06/0.4834, allocations: 0 / 0.7274 GB, free: 36.25 MB / 0.6355 GB Notification: Performance of Templates: time 0.03747/0.5208, allocations: 31.42 MB / 0.7581 GB, free: 31.87 MB / 0.6355 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.984542110003531]