Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl.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.001436/0.001436, allocations: 78.64 kB / 19.18 MB, free: 2.527 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.001732/0.001732, allocations: 166.5 kB / 22.46 MB, free: 5.363 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.506/1.506, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0/package.mo): time 0.06286/0.06286, allocations: 8.604 MB / 267.8 MB, free: 8.578 MB / 254.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.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(IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl") translateModel(IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.684e-06/1.684e-06, allocations: 0 / 396.8 MB, free: 5.438 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.429e-05/2.597e-05, allocations: 5.797 kB / 396.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl): time 0.03153/0.03155, allocations: 23.07 MB / 419.9 MB, free: 14.26 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01149/0.04305, allocations: 6.352 MB / 426.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001339/0.04438, allocations: 71.25 kB / 426.3 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.04575, allocations: 444.7 kB / 426.7 MB, free: 7.387 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003076/0.04882, allocations: 1.215 MB / 427.9 MB, free: 6.164 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003896/0.05272, allocations: 1.382 MB / 429.3 MB, free: 4.785 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003894/0.05661, allocations: 2.678 MB / 432 MB, free: 2.098 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.058, allocations: 0.6877 MB / 432.7 MB, free: 1.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002704/0.06071, allocations: 1.441 MB / 434.1 MB, free: 15.94 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001516/0.06222, allocations: 0.8413 MB / 435 MB, free: 15.1 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002265/0.06245, allocations: 103.9 kB / 435.1 MB, free: 15 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001226/0.06367, allocations: 427.1 kB / 435.5 MB, free: 14.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004794/0.06415, allocations: 418.5 kB / 435.9 MB, free: 14.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006415/0.06479, allocations: 454.9 kB / 436.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00257/0.06736, allocations: 1.741 MB / 438.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.06737, allocations: 4 kB / 438.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.06737, allocations: 0 / 438.1 MB, free: 11.97 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.514e-05/0.06739, allocations: 0 / 438.1 MB, free: 11.97 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.003429/0.07081, allocations: 1.569 MB / 439.7 MB, free: 10.37 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.07085, allocations: 8.031 kB / 439.7 MB, free: 10.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004999/0.07135, allocations: 172 kB / 439.8 MB, free: 10.19 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/0.07299, allocations: 0.7859 MB / 440.6 MB, free: 9.383 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003228/0.07332, allocations: 308.1 kB / 440.9 MB, free: 9.031 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.07348, allocations: 92.38 kB / 441 MB, free: 8.941 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002761/0.07624, allocations: 1.759 MB / 442.8 MB, free: 6.957 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/0.07628, allocations: 8.125 kB / 442.8 MB, free: 6.949 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001246/0.0764, allocations: 47.92 kB / 442.8 MB, free: 6.902 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.483e-05/0.07648, allocations: 57.92 kB / 442.9 MB, free: 6.844 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002043/0.07853, allocations: 1.073 MB / 444 MB, free: 5.77 MB / 366.1 MB 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.2106/0.2891, allocations: 6.005 MB / 450 MB, free: 63.01 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.2908, allocations: 0.7381 MB / 450.7 MB, free: 62.99 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006507/0.2915, allocations: 413.8 kB / 451.1 MB, free: 62.98 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00198/0.2935, allocations: 1.025 MB / 452.1 MB, free: 62.73 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.2935, allocations: 46.75 kB / 452.2 MB, free: 62.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=78): time 2.294e-06/0.2935, allocations: 3.375 kB / 452.2 MB, free: 62.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=83): time 0.006423/0.2999, allocations: 2.812 MB / 455 MB, free: 61.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.3, allocations: 139.1 kB / 455.1 MB, free: 61.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001157/0.3011, allocations: 0.8958 MB / 456 MB, free: 61.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.744e-05/0.3012, allocations: 42.38 kB / 456.1 MB, free: 61.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003752/0.3016, allocations: 0.6084 MB / 456.7 MB, free: 60.66 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002102/0.3018, allocations: 304 kB / 457 MB, free: 60.46 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003476/0.3021, allocations: 255.8 kB / 457.2 MB, free: 60.34 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.61e-05/0.3022, allocations: 355.3 kB / 457.6 MB, free: 60.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007445/0.303, allocations: 427.3 kB / 458 MB, free: 59.88 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.3041, allocations: 0.9971 MB / 459 MB, free: 59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01161/0.3157, allocations: 3.039 MB / 462 MB, free: 57.78 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.369e-05/0.3157, allocations: 4.125 kB / 462 MB, free: 57.78 MB / 366.1 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.003123/0.3188, allocations: 1.617 MB / 463.6 MB, free: 57.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.3188, allocations: 13.34 kB / 463.7 MB, free: 57.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.335e-05/0.3189, allocations: 17.34 kB / 463.7 MB, free: 57.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009035/0.3198, allocations: 368 kB / 464 MB, free: 57.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001057/0.3208, allocations: 283.5 kB / 464.3 MB, free: 57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003196/0.324, allocations: 4.023 MB / 468.3 MB, free: 53.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/0.3251, allocations: 55.91 kB / 468.4 MB, free: 53.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001055/0.3252, allocations: 70.83 kB / 468.4 MB, free: 53.4 MB / 366.1 MB Warning: Assuming fixed start value for the following 3 variables: tank.level:VARIABLE(min = 0.0 start = tank.level_start_eps unit = \"m\" fixed = true stateSelect=StateSelect.prefer ) \"Level height of tank\" type: Real tank.medium.T:VARIABLE(min = 1.0 max = 1e4 start = tank.T_start unit = \"K\" fixed = true nominal = 300.0 stateSelect=StateSelect.prefer ) \"Temperature of medium\" type: Real actuator.y:VARIABLE(flow=false min = 0.0 max = 1.0 start = actuator.y_start fixed = true ) \"Connector of Real output signal\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 20 (tank.inFlow[3],tank.inFlow[2],tank.inFlow[1],tank.regularFlow[3],tank.regularFlow[2],tank.regularFlow[1],PI_Valve.TS_in,PI_Level.TS_in,PI_Valve.satLOW_in,PI_Valve.satHIGH_in,PI_Valve.ATreq_in,sub.Yfp,sub.U2fp,sub.U1fp,div.Yfp,div.U2fp,div.U1fp,PI_Level.satLOW_in,PI_Level.satHIGH_in,PI_Level.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 149 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,7), (2,1), (2,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0007664/0.326, allocations: 347.5 kB / 468.8 MB, free: 53.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.3262, allocations: 121.6 kB / 468.9 MB, free: 53.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002604/0.3288, allocations: 1.513 MB / 470.4 MB, free: 52.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/0.3288, allocations: 12.11 kB / 470.4 MB, free: 52.21 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3288, allocations: 3.984 kB / 470.4 MB, free: 52.21 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.838e-06/0.3288, allocations: 3.984 kB / 470.4 MB, free: 52.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003152/0.332, allocations: 2.172 MB / 472.6 MB, free: 50.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/0.332, allocations: 1.938 kB / 472.6 MB, free: 50.49 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007313/0.3327, allocations: 163.8 kB / 472.8 MB, free: 50.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006537/0.3334, allocations: 349 kB / 473.1 MB, free: 49.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.3334, allocations: 20 kB / 473.1 MB, free: 49.97 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002431/0.3359, allocations: 4.026 MB / 477.2 MB, free: 45.73 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.3359, allocations: 15.5 kB / 477.2 MB, free: 45.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002744/0.3386, allocations: 1.926 MB / 479.1 MB, free: 43.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00043/0.339, allocations: 203.1 kB / 479.3 MB, free: 43.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/0.3392, allocations: 23.98 kB / 479.3 MB, free: 43.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005664/0.3398, allocations: 27.98 kB / 479.4 MB, free: 43.5 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.3399, allocations: 88.84 kB / 479.4 MB, free: 43.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.2e-05/0.34, allocations: 39.97 kB / 479.5 MB, free: 43.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005755/0.3406, allocations: 0.5585 MB / 480 MB, free: 42.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3406, allocations: 0 / 480 MB, free: 42.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001338/0.3419, allocations: 343.8 kB / 480.4 MB, free: 42.47 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 7 (PI_Level.Iaction,PI_Level.Fder,tank.level,tank.medium.T,actuator.y,PI_Valve.Iaction,PI_Valve.Fder) * Number of discrete variables: 6 (tank.regularFlow[1],tank.regularFlow[2],tank.regularFlow[3],tank.inFlow[1],tank.inFlow[2],tank.inFlow[3]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(3,9), (2,1), (2,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005243/0.3424, allocations: 294.4 kB / 480.7 MB, free: 42.2 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002232/0.3447, allocations: 1.346 MB / 482 MB, free: 40.83 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.3447, allocations: 4 kB / 482 MB, free: 40.83 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.3458, allocations: 0.7631 MB / 482.8 MB, free: 40.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001954/0.3477, allocations: 438.3 kB / 483.2 MB, free: 39.64 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.3511, allocations: 2.268 MB / 485.5 MB, free: 37.34 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.3515, allocations: 0.555 MB / 486 MB, free: 36.75 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007572/0.3523, allocations: 298.8 kB / 486.3 MB, free: 36.46 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.3525, allocations: 104.5 kB / 486.4 MB, free: 36.36 MB / 366.1 MB Notification: Performance of SimCode: time 6.51e-07/0.3525, allocations: 3.938 kB / 486.4 MB, free: 36.36 MB / 366.1 MB Notification: Performance of Templates: time 0.02949/0.382, allocations: 20.73 MB / 0.4953 GB, free: 16.05 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl.sim & ./IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Applications.ProcessControl.CascadeLevelControl.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.648698981851339] Failed to read output from testmodel.py, exit status != 0: 0.3905823491513729 0.399252365 0.32946570000000003 Calling exit ...