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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 110.5 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 249.4 MB, free: 3.27 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 3.0.0-master/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 3.0.0-master/package.mo): time 1.195/1.195, allocations: 175.7 MB / 480.2 MB, free: 2.797 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001966/0.001966, allocations: 60.19 kB / 0.6684 GB, free: 10.61 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2232/0.2251, allocations: 94.54 MB / 0.7607 GB, free: 228 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.06086/0.286, allocations: 55.5 MB / 0.8149 GB, free: 8.535 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01651/0.3025, allocations: 10.39 MB / 0.8251 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00256/0.3051, allocations: 67.56 kB / 0.8252 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002685/0.3078, allocations: 0.9164 MB / 0.826 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006292/0.314, allocations: 2.006 MB / 0.828 GB, free: 11.11 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006247/0.3203, allocations: 2.117 MB / 0.8301 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006329/0.3266, allocations: 3.777 MB / 0.8338 GB, free: 5.207 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001981/0.3286, allocations: 0.9818 MB / 0.8347 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005926/0.3345, allocations: 1.918 MB / 0.8366 GB, free: 2.27 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003719/0.3382, allocations: 1.256 MB / 0.8378 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0006101/0.3389, allocations: 104 kB / 0.8379 GB, free: 0.9062 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5031/0.8419, allocations: 1.334 MB / 0.8392 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0009553/0.8429, allocations: 396.1 kB / 0.8396 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001785/0.8447, allocations: 0.8541 MB / 0.8404 GB, free: 10.31 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006808/0.8515, allocations: 2.464 MB / 0.8428 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.8515, allocations: 0.6562 kB / 0.8428 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.593e-06/0.8515, allocations: 0 / 0.8428 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.342e-05/0.8515, allocations: 0.9375 kB / 0.8428 GB, free: 10.01 MB / 0.6387 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.005718/0.8572, allocations: 2.19 MB / 0.845 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.8573, allocations: 9.219 kB / 0.845 GB, free: 8.828 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004403/0.8617, allocations: 0.6584 MB / 0.8456 GB, free: 8.719 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003473/0.8652, allocations: 1.197 MB / 0.8468 GB, free: 8.254 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.8653, allocations: 80.62 kB / 0.8469 GB, free: 8.25 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002492/0.8655, allocations: 113.8 kB / 0.847 GB, free: 8.246 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004124/0.8697, allocations: 1.5 MB / 0.8485 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.032e-05/0.8697, allocations: 6.797 kB / 0.8485 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001321/0.8698, allocations: 48.73 kB / 0.8485 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.327e-05/0.8699, allocations: 32.53 kB / 0.8485 GB, free: 7.816 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004608/0.8745, allocations: 1.217 MB / 0.8497 GB, free: 7.785 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0116/0.8861, allocations: 8.373 MB / 0.8579 GB, free: 17.98 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003348/0.8895, allocations: 1.045 MB / 0.8589 GB, free: 17.93 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001574/0.891, allocations: 0.5274 MB / 0.8594 GB, free: 17.91 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002722/0.8938, allocations: 2.901 MB / 0.8623 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002067/0.8958, allocations: 0.6729 MB / 0.8629 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=85): time 3.507e-06/0.8958, allocations: 0 / 0.8629 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of matching and sorting (n=85): time 0.006222/0.9021, allocations: 1.8 MB / 0.8647 GB, free: 14.39 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.662e-05/0.9021, allocations: 61.19 kB / 0.8647 GB, free: 14.33 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002412/0.9045, allocations: 1.487 MB / 0.8662 GB, free: 14.14 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001643/0.9047, allocations: 44.83 kB / 0.8662 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007014/0.9054, allocations: 0.7943 MB / 0.867 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/0.9057, allocations: 317.3 kB / 0.8673 GB, free: 13.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003886/0.9061, allocations: 228.5 kB / 0.8675 GB, free: 13.61 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.9063, allocations: 346.8 kB / 0.8679 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.9078, allocations: 0.5215 MB / 0.8684 GB, free: 13.3 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001847/0.9097, allocations: 0.8955 MB / 0.8692 GB, free: 12.85 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003318/0.913, allocations: 1.413 MB / 0.8706 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/0.913, allocations: 3.656 kB / 0.8706 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.004759/0.9178, allocations: 1.618 MB / 0.8722 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.921e-05/0.9178, allocations: 9.156 kB / 0.8722 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.348e-05/0.9178, allocations: 12 kB / 0.8722 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.239e-05/0.9179, allocations: 17.94 kB / 0.8722 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.9193, allocations: 348.2 kB / 0.8726 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.329e-05/0.9194, allocations: 23.77 kB / 0.8726 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/0.9215, allocations: 229.8 kB / 0.8728 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002102/0.9217, allocations: 67.56 kB / 0.8729 GB, free: 12.15 MB / 0.6544 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.0009923/0.9227, allocations: 346.1 kB / 0.8732 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005199/0.9232, allocations: 181.1 kB / 0.8734 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005/0.9282, allocations: 2.114 MB / 0.8755 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.354e-05/0.9283, allocations: 19.73 kB / 0.8755 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/0.9283, allocations: 5.344 kB / 0.8755 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.519e-05/0.9283, allocations: 5.625 kB / 0.8755 GB, free: 11.75 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00726/0.9355, allocations: 3.313 MB / 0.8787 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.004e-05/0.9356, allocations: 1.281 kB / 0.8787 GB, free: 11.28 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.9367, allocations: 233.6 kB / 0.8789 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.9367, allocations: 5.188 kB / 0.8789 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.645e-05/0.9368, allocations: 37.88 kB / 0.879 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/0.9368, allocations: 6.344 kB / 0.879 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.702e-06/0.9368, allocations: 12.72 kB / 0.879 GB, free: 11.27 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006331/0.9431, allocations: 2.714 MB / 0.8817 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001166/0.9443, allocations: 395.5 kB / 0.882 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002225/0.9445, allocations: 25.22 kB / 0.8821 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.9456, allocations: 125.8 kB / 0.8822 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001722/0.9458, allocations: 82.23 kB / 0.8823 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.9459, allocations: 48 kB / 0.8823 GB, free: 10.69 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001388/0.9473, allocations: 1.007 MB / 0.8833 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.9473, allocations: 0 / 0.8833 GB, free: 10.58 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001988/0.9493, allocations: 0.5434 MB / 0.8838 GB, free: 10.51 MB / 0.6544 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 (113): * Single equations (assignments): 82 * 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.002414/0.9517, allocations: 0.8487 MB / 0.8846 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003654/0.9554, allocations: 1.419 MB / 0.886 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.9554, allocations: 0 / 0.886 GB, free: 10.18 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/0.9571, allocations: 0.7515 MB / 0.8868 GB, free: 10.17 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003398/0.9605, allocations: 0.7324 MB / 0.8875 GB, free: 10.05 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005996/0.9665, allocations: 3.184 MB / 0.8906 GB, free: 8.824 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009251/0.9674, allocations: 1.309 MB / 0.8919 GB, free: 8.09 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002072/0.9695, allocations: 374.8 kB / 0.8922 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005916/0.9701, allocations: 164.8 kB / 0.8924 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of SimCode: time 1.583e-06/0.9701, allocations: 0 / 0.8924 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of Templates: time 0.06675/1.037, allocations: 33.15 MB / 0.9248 GB, free: 15.32 MB / 0.6856 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.992168262600899]