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.001367/0.001367, allocations: 102.1 kB / 19.7 MB, free: 2.254 MB / 14.72 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.001594/0.001594, allocations: 215.8 kB / 23.01 MB, free: 4.609 MB / 14.72 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.496/1.496, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8483/0.8483, allocations: 134 MB / 447.2 MB, free: 10.22 MB / 350.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/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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.64 kB / 0.6198 GB, free: 6.738 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1716, allocations: 85.91 MB / 0.7037 GB, free: 0.9023 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03337/0.2049, allocations: 30.02 MB / 0.733 GB, free: 2.785 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01194/0.2169, allocations: 7.023 MB / 0.7399 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001714/0.2186, allocations: 67.38 kB / 0.7399 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001964/0.2206, allocations: 0.7031 MB / 0.7406 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.004627/0.2252, allocations: 1.594 MB / 0.7422 GB, free: 9.367 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003067/0.2283, allocations: 1.106 MB / 0.7433 GB, free: 8.266 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004058/0.2323, allocations: 2.543 MB / 0.7457 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.2335, allocations: 0.6545 MB / 0.7464 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002257/0.2358, allocations: 1.082 MB / 0.7474 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001652/0.2374, allocations: 0.8636 MB / 0.7483 GB, free: 3.098 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002815/0.2377, allocations: 68 kB / 0.7483 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002344/0.2401, allocations: 0.885 MB / 0.7492 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004858/0.2405, allocations: 294.7 kB / 0.7495 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009974/0.2415, allocations: 0.5592 MB / 0.75 GB, free: 1.293 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.4125/0.6541, allocations: 1.654 MB / 0.7516 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.712e-06/0.6541, allocations: 0 / 0.7516 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.076e-06/0.6541, allocations: 1 kB / 0.7516 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.196e-05/0.6542, allocations: 0.6094 kB / 0.7516 GB, free: 11.75 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003211/0.6574, allocations: 1.56 MB / 0.7532 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.6574, allocations: 9.375 kB / 0.7532 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003812/0.6612, allocations: 0.5929 MB / 0.7538 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001904/0.6631, allocations: 0.8076 MB / 0.7545 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.345e-05/0.6632, allocations: 62.88 kB / 0.7546 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.6633, allocations: 74.28 kB / 0.7547 GB, free: 10.51 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002659/0.666, allocations: 1.094 MB / 0.7557 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.837e-05/0.666, allocations: 5.312 kB / 0.7558 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.059e-05/0.6661, allocations: 31.36 kB / 0.7558 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.487e-05/0.6661, allocations: 18.41 kB / 0.7558 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003178/0.6693, allocations: 1.005 MB / 0.7568 GB, free: 10.23 MB / 0.5606 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.008203/0.6775, allocations: 4.906 MB / 0.7616 GB, free: 7.145 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00423/0.6817, allocations: 0.869 MB / 0.7624 GB, free: 7.098 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002052/0.6838, allocations: 464.2 kB / 0.7629 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.6848, allocations: 184.8 kB / 0.763 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00233/0.6871, allocations: 0.5647 MB / 0.7636 GB, free: 7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=61): time 4.017e-06/0.6871, allocations: 0 / 0.7636 GB, free: 7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=61): time 0.007196/0.6943, allocations: 1.494 MB / 0.765 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.676e-05/0.6944, allocations: 57.45 kB / 0.7651 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002513/0.6969, allocations: 1.145 MB / 0.7662 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001576/0.6971, allocations: 41.83 kB / 0.7663 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005274/0.6976, allocations: 0.5684 MB / 0.7668 GB, free: 6.395 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002515/0.6978, allocations: 212.6 kB / 0.767 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003605/0.6982, allocations: 169.3 kB / 0.7672 GB, free: 6.242 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 8.376e-05/0.6983, allocations: 337.6 kB / 0.7675 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002054/0.7003, allocations: 453.5 kB / 0.7679 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002321/0.7026, allocations: 0.716 MB / 0.7686 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00418/0.7068, allocations: 1.113 MB / 0.7697 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.087e-05/0.7068, allocations: 3.219 kB / 0.7697 GB, free: 5.293 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.005282/0.7121, allocations: 1.285 MB / 0.771 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.618e-05/0.7122, allocations: 8.672 kB / 0.771 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.062e-05/0.7122, allocations: 10.88 kB / 0.771 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.006e-05/0.7122, allocations: 11.66 kB / 0.771 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001734/0.714, allocations: 271.5 kB / 0.7713 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.259e-05/0.714, allocations: 17.92 kB / 0.7713 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00193/0.7159, allocations: 180.9 kB / 0.7715 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001534/0.7161, allocations: 54.91 kB / 0.7715 GB, free: 5.082 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0007318/0.7168, allocations: 292 kB / 0.7718 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003218/0.7171, allocations: 134.3 kB / 0.7719 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004549/0.7217, allocations: 1.402 MB / 0.7733 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.7217, allocations: 10.17 kB / 0.7733 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.7217, allocations: 0 / 0.7733 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.249e-05/0.7217, allocations: 3.656 kB / 0.7733 GB, free: 4.789 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005107/0.7268, allocations: 2.402 MB / 0.7756 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.7268, allocations: 2.156 kB / 0.7756 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.7279, allocations: 190.8 kB / 0.7758 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.141e-05/0.7279, allocations: 3.438 kB / 0.7758 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.839e-05/0.7279, allocations: 30.92 kB / 0.7759 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-06/0.7279, allocations: 6.562 kB / 0.7759 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/0.7279, allocations: 5 kB / 0.7759 GB, free: 4.379 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004921/0.7329, allocations: 2.024 MB / 0.7779 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006408/0.7335, allocations: 212.4 kB / 0.7781 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001634/0.7337, allocations: 16.12 kB / 0.7781 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008883/0.7346, allocations: 108.9 kB / 0.7782 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.7347, allocations: 60.83 kB / 0.7782 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.461e-05/0.7348, allocations: 31.75 kB / 0.7783 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009956/0.7358, allocations: 0.7909 MB / 0.779 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9e-08/0.7358, allocations: 0 / 0.779 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001244/0.737, allocations: 350.8 kB / 0.7794 GB, free: 3.82 MB / 0.5606 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 (73): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.001954/0.739, allocations: 0.6468 MB / 0.78 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003357/0.7423, allocations: 1.091 MB / 0.7811 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.7423, allocations: 0 / 0.7811 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/0.7438, allocations: 0.5605 MB / 0.7816 GB, free: 3.59 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002097/0.7459, allocations: 449.8 kB / 0.782 GB, free: 3.516 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004774/0.7507, allocations: 2.48 MB / 0.7845 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004922/0.7512, allocations: 1.112 MB / 0.7856 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004546/0.7517, allocations: 126.3 kB / 0.7857 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of SimCode: time 7.31e-07/0.7517, allocations: 0 / 0.7857 GB, free: 1.812 MB / 0.5606 GB Notification: Performance of Templates: time 0.0304/0.7821, allocations: 19.39 MB / 0.8046 GB, free: 5.988 MB / 0.5763 GB " [Timeout remaining time 659] 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.91667307401076] Failed to read output from testmodel.py, exit status != 0: 0.7903796669561416 0.805955355 0.148673629 Calling exit ...