Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009582/0.0009582, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.00164/0.00164, allocations: 181 kB / 23.36 MB, free: 1.133 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.9952/0.9952, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7568/0.7568, allocations: 154.6 MB / 414.8 MB, free: 0.5312 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.182e-06/1.182e-06, allocations: 0 / 480 MB, free: 6.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.488e-06/1.067e-05, allocations: 4.422 kB / 480.1 MB, free: 6.863 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.009558/0.009569, allocations: 13.43 MB / 493.5 MB, free: 9.457 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00581/0.01538, allocations: 5.147 MB / 498.6 MB, free: 4.352 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005475/0.01593, allocations: 95.66 kB / 498.7 MB, free: 4.258 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008055/0.01673, allocations: 0.6084 MB / 499.3 MB, free: 3.648 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002028/0.01876, allocations: 1.578 MB / 0.4892 GB, free: 2.078 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001846/0.02061, allocations: 1.552 MB / 0.4907 GB, free: 0.5273 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00264/0.02325, allocations: 3.844 MB / 0.4944 GB, free: 12.67 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001121/0.02437, allocations: 1.051 MB / 0.4955 GB, free: 11.59 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.02585, allocations: 1.895 MB / 0.4973 GB, free: 9.688 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007325/0.02658, allocations: 0.9682 MB / 0.4983 GB, free: 8.719 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.02669, allocations: 109.2 kB / 0.4984 GB, free: 8.613 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004296/0.02712, allocations: 323.5 kB / 0.4987 GB, free: 8.297 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.02737, allocations: 414.2 kB / 0.4991 GB, free: 7.891 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003898/0.02776, allocations: 0.5726 MB / 0.4996 GB, free: 7.316 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.02878, allocations: 1.406 MB / 0.501 GB, free: 5.906 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.02878, allocations: 3.938 kB / 0.501 GB, free: 5.902 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.02879, allocations: 0 / 0.501 GB, free: 5.902 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.253e-05/0.0288, allocations: 1.031 kB / 0.501 GB, free: 5.902 MB / 474.7 MB 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.001907/0.0307, allocations: 1.974 MB / 0.5029 GB, free: 3.887 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.759e-05/0.03073, allocations: 8.031 kB / 0.5029 GB, free: 3.879 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001141/0.03187, allocations: 0.5024 MB / 0.5034 GB, free: 3.387 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.033, allocations: 1.034 MB / 0.5044 GB, free: 2.316 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.028e-05/0.03305, allocations: 82.14 kB / 0.5045 GB, free: 2.234 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001036/0.03315, allocations: 108 kB / 0.5046 GB, free: 2.129 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.03421, allocations: 1.122 MB / 0.5057 GB, free: 0.8555 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/0.03423, allocations: 3.938 kB / 0.5057 GB, free: 0.8516 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.028e-05/0.03429, allocations: 53.17 kB / 0.5058 GB, free: 0.8008 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.719e-05/0.03431, allocations: 31.94 kB / 0.5058 GB, free: 0.7695 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004944/0.0348, allocations: 415.6 kB / 0.5062 GB, free: 380 kB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003677/0.03848, allocations: 5.334 MB / 0.5114 GB, free: 10.84 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007039/0.03918, allocations: 0.4933 MB / 0.5119 GB, free: 10.35 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.03937, allocations: 165.6 kB / 0.512 GB, free: 10.18 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001879/0.03956, allocations: 83.81 kB / 0.5121 GB, free: 10.11 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003295/0.03989, allocations: 332.5 kB / 0.5124 GB, free: 9.77 MB / 490.7 MB Notification: Performance of pre-optimization done (n=85): time 1.903e-06/0.03989, allocations: 0 / 0.5124 GB, free: 9.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=85): time 0.0006812/0.04057, allocations: 0.5536 MB / 0.513 GB, free: 9.219 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.0406, allocations: 64.39 kB / 0.513 GB, free: 9.145 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006758/0.04128, allocations: 1.144 MB / 0.5142 GB, free: 7.98 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 5.009e-05/0.04133, allocations: 49.69 kB / 0.5142 GB, free: 7.926 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.04157, allocations: 0.5635 MB / 0.5148 GB, free: 7.352 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.04172, allocations: 319.7 kB / 0.5151 GB, free: 7.039 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001826/0.0419, allocations: 210.7 kB / 0.5153 GB, free: 6.828 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.919e-05/0.04198, allocations: 353.8 kB / 0.5156 GB, free: 6.477 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/0.04217, allocations: 133.4 kB / 0.5157 GB, free: 6.344 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000625/0.04279, allocations: 0.7414 MB / 0.5165 GB, free: 5.387 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005604/0.04335, allocations: 0.7175 MB / 0.5172 GB, free: 4.531 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.04336, allocations: 4.844 kB / 0.5172 GB, free: 4.527 MB / 490.7 MB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0007042/0.04406, allocations: 0.7032 MB / 0.5178 GB, free: 3.824 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.04408, allocations: 14.45 kB / 0.5179 GB, free: 3.812 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.04409, allocations: 12 kB / 0.5179 GB, free: 3.801 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.0441, allocations: 20 kB / 0.5179 GB, free: 3.781 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005341/0.04464, allocations: 293.8 kB / 0.5182 GB, free: 3.496 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.04465, allocations: 19.94 kB / 0.5182 GB, free: 3.477 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004177/0.04507, allocations: 150 kB / 0.5183 GB, free: 3.332 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-05/0.04513, allocations: 55.95 kB / 0.5184 GB, free: 3.277 MB / 490.7 MB 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.0002123/0.04535, allocations: 203.2 kB / 0.5186 GB, free: 3.074 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001178/0.04546, allocations: 119.8 kB / 0.5187 GB, free: 2.957 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.04651, allocations: 0.9655 MB / 0.5196 GB, free: 2.027 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/0.04652, allocations: 15.98 kB / 0.5197 GB, free: 2.012 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.04652, allocations: 3.375 kB / 0.5197 GB, free: 2.012 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.04653, allocations: 9.938 kB / 0.5197 GB, free: 2.004 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.04813, allocations: 1.746 MB / 0.5214 GB, free: 184 kB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.057e-06/0.04814, allocations: 0 / 0.5214 GB, free: 184 kB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000419/0.04856, allocations: 190 kB / 0.5216 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.04856, allocations: 4 kB / 0.5216 GB, free: 15.99 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.079e-05/0.0486, allocations: 32.91 kB / 0.5216 GB, free: 15.96 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.04861, allocations: 7.938 kB / 0.5216 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.04861, allocations: 4 kB / 0.5216 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009344/0.04954, allocations: 0.9917 MB / 0.5226 GB, free: 14.92 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002462/0.04979, allocations: 230.4 kB / 0.5228 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003314/0.05012, allocations: 27.98 kB / 0.5228 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003259/0.05045, allocations: 69.94 kB / 0.5229 GB, free: 14.6 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.522e-05/0.05052, allocations: 73.42 kB / 0.523 GB, free: 14.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.826e-05/0.05057, allocations: 35.97 kB / 0.523 GB, free: 14.49 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.000376/0.05095, allocations: 0.5717 MB / 0.5235 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6e-08/0.05095, allocations: 0 / 0.5235 GB, free: 13.92 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005868/0.05153, allocations: 430 kB / 0.524 GB, free: 13.5 MB / 0.4948 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 (109): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.00123/0.05276, allocations: 0.5922 MB / 0.5245 GB, free: 13.22 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0006033/0.05337, allocations: 0.5947 MB / 0.5251 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.566e-05/0.05338, allocations: 17.88 kB / 0.5251 GB, free: 12.61 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.05369, allocations: 323 kB / 0.5254 GB, free: 12.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001188/0.05488, allocations: 0.6269 MB / 0.526 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002355/0.05723, allocations: 2.508 MB / 0.5285 GB, free: 9.172 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000181/0.05742, allocations: 294.5 kB / 0.5288 GB, free: 8.855 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0005613/0.05798, allocations: 322.1 kB / 0.5291 GB, free: 8.578 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008438/0.05882, allocations: 0.5477 MB / 0.5296 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of SimCode: time 6.01e-07/0.05882, allocations: 0 / 0.5296 GB, free: 8.023 MB / 0.4948 GB Notification: Performance of Templates: time 0.02865/0.08747, allocations: 28.01 MB / 0.557 GB, free: 12.77 MB / 0.5261 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.14742273837328]