Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_initFromFBstart.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.0009699/0.0009699, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001304/0.002274, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001048/0.001048, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001305/0.002354, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.966/0.966, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09136/1.057, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-master/package.mo): time 0.06055/0.06055, allocations: 9.783 MB / 253.8 MB, free: 5.594 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.006462/0.06702, allocations: 3.476 MB / 257.2 MB, free: 2.105 MB / 250.7 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.1-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(IndustrialControlSystems.Controllers.Examples.TestPI_initFromFBstart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_initFromFBstart") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_initFromFBstart,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_initFromFBstart") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.512e-06/1.512e-06, allocations: 0 / 258.5 MB, free: 0.8281 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.78e-05/1.932e-05, allocations: 2.312 kB / 258.5 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_initFromFBstart): time 0.001909/0.001928, allocations: 1.346 MB / 259.9 MB, free: 15.47 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007906/0.002719, allocations: 0.5825 MB / 260.4 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.00286, allocations: 23.69 kB / 260.5 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.198e-05/0.002952, allocations: 67.27 kB / 260.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.968e-05/0.003011, allocations: 27.62 kB / 260.5 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003956/0.003407, allocations: 275.4 kB / 260.8 MB, free: 14.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003156/0.003722, allocations: 381.8 kB / 261.2 MB, free: 14.13 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.003846, allocations: 46.88 kB / 261.2 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001509/0.003996, allocations: 179.6 kB / 261.4 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001068/0.004103, allocations: 91.61 kB / 261.5 MB, free: 13.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.807e-05/0.004131, allocations: 24 kB / 261.5 MB, free: 13.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-05/0.004224, allocations: 47.97 kB / 261.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.344e-05/0.004257, allocations: 43.81 kB / 261.6 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.826e-05/0.004306, allocations: 63.75 kB / 261.7 MB, free: 13.64 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.004518, allocations: 207 kB / 261.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.341e-05/0.004531, allocations: 0 / 261.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.51e-07/0.004532, allocations: 0 / 261.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.37e-05/0.004546, allocations: 0 / 261.9 MB, free: 13.44 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.0005831/0.005129, allocations: 0.5706 MB / 262.5 MB, free: 12.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.005157, allocations: 12.03 kB / 262.5 MB, free: 12.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.408e-05/0.005211, allocations: 48.89 kB / 262.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003113/0.005522, allocations: 308.4 kB / 262.8 MB, free: 12.45 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.755e-05/0.00555, allocations: 25.03 kB / 262.8 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.222e-05/0.005582, allocations: 32.38 kB / 262.9 MB, free: 12.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.005843, allocations: 314.5 kB / 263.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.159e-05/0.005855, allocations: 8.125 kB / 263.2 MB, free: 12.04 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.005873, allocations: 16.38 kB / 263.2 MB, free: 12.02 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.00588, allocations: 8.375 kB / 263.2 MB, free: 12.01 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.932e-05/0.00598, allocations: 99.27 kB / 263.3 MB, free: 11.92 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008694/0.006849, allocations: 1.433 MB / 264.7 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.006996, allocations: 74.3 kB / 264.8 MB, free: 10.33 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.384e-05/0.00702, allocations: 24.84 kB / 264.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.007027, allocations: 0 / 264.8 MB, free: 10.3 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001209/0.007148, allocations: 105.8 kB / 264.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=13): time 9.02e-07/0.007149, allocations: 0 / 264.9 MB, free: 10.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001597/0.007308, allocations: 114 kB / 265 MB, free: 10.06 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.007355, allocations: 110.8 kB / 265.2 MB, free: 9.93 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001529/0.007508, allocations: 318.5 kB / 265.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.007523, allocations: 33.7 kB / 265.5 MB, free: 9.566 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.827e-05/0.007611, allocations: 224.5 kB / 265.7 MB, free: 9.34 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.816e-05/0.007639, allocations: 47.67 kB / 265.8 MB, free: 9.293 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.744e-05/0.007697, allocations: 86.09 kB / 265.8 MB, free: 9.203 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 8.886e-05/0.007786, allocations: 346.7 kB / 266.2 MB, free: 8.855 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.868e-05/0.007814, allocations: 28.86 kB / 266.2 MB, free: 8.828 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.007941, allocations: 259.1 kB / 266.5 MB, free: 8.465 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002148/0.008156, allocations: 366.3 kB / 266.8 MB, free: 7.996 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.00816, allocations: 4 kB / 266.8 MB, free: 7.992 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0002226/0.008383, allocations: 273.8 kB / 267.1 MB, free: 7.719 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.008399, allocations: 14.66 kB / 267.1 MB, free: 7.707 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.008407, allocations: 8 kB / 267.1 MB, free: 7.699 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.008419, allocations: 12.03 kB / 267.1 MB, free: 7.688 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.008561, allocations: 83.84 kB / 267.2 MB, free: 7.605 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/0.008571, allocations: 23.86 kB / 267.2 MB, free: 7.582 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.825e-05/0.008659, allocations: 43.67 kB / 267.3 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/0.008678, allocations: 20 kB / 267.3 MB, free: 7.52 MB / 266.7 MB Warning: Assuming fixed start value for the following 4 variables: PId.CS:DISCRETE(flow=false fixed = true ) \"Control signal\" type: Real PId.FBin:DISCRETE(fixed = true ) \"input of the feedback (reset) filter: cs, or in tracking mode the value giving CS = TR on release\" type: Real PId.cs:DISCRETE(fixed = true ) \"Pre-biased Control Signal\" type: Real PId.satin:DISCRETE(fixed = true ) \"input of the saturation block\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * Number of states: 0 () * Number of discrete variables: 23 ($PRE.PId.CS,PId.CS,PId.FBout,$PRE.PId.FBout,$PRE.PId.FBin,PId.FBin,$PRE.PId.cs,PId.cs,$PRE.PId.satin,PId.satin,$whenCondition1,PIc.ATreq_in,PIc.satHIGH_in,PIc.satLOW_in,PId.ATreq_in,PId.satHIGH_in,PId.satLOW_in,PIc_default.ATreq_in,PIc_default.satHIGH_in,PIc_default.satLOW_in,PIc.TS_in,PId.TS_in,PIc_default.TS_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0001257/0.008804, allocations: 150.7 kB / 267.4 MB, free: 7.363 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.008825, allocations: 19.97 kB / 267.5 MB, free: 7.344 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.927e-05/0.008865, allocations: 34.77 kB / 267.5 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.008867, allocations: 0 / 267.5 MB, free: 7.312 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.705e-06/0.00887, allocations: 3.938 kB / 267.5 MB, free: 7.309 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.008875, allocations: 7.938 kB / 267.5 MB, free: 7.301 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002498/0.009124, allocations: 296.2 kB / 267.8 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.009127, allocations: 0 / 267.8 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.082e-05/0.009187, allocations: 20.16 kB / 267.8 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.167e-05/0.009209, allocations: 31.78 kB / 267.9 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.009213, allocations: 3.938 kB / 267.9 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.009222, allocations: 4 kB / 267.9 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.009224, allocations: 0 / 267.9 MB, free: 6.922 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.009226, allocations: 7.938 kB / 267.9 MB, free: 6.914 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.009387, allocations: 230.9 kB / 268.1 MB, free: 6.66 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.009407, allocations: 7.984 kB / 268.1 MB, free: 6.652 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.576e-05/0.009452, allocations: 8 kB / 268.1 MB, free: 6.645 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.009473, allocations: 15.92 kB / 268.1 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.00948, allocations: 8.031 kB / 268.1 MB, free: 6.621 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.286e-05/0.009543, allocations: 104.6 kB / 268.2 MB, free: 6.516 MB / 266.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.009543, allocations: 0 / 268.2 MB, free: 6.516 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002234/0.009766, allocations: 63.78 kB / 268.3 MB, free: 6.453 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (PIc_default.FBout,PIc.FBout) * Number of discrete variables: 6 ($whenCondition1,PId.CS,PId.FBout,PId.cs,PId.satin,PId.FBin) * Number of discrete states: 2 (PId.FBout,PId.FBin) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0001392/0.009906, allocations: 92.41 kB / 268.4 MB, free: 6.352 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001663/0.01007, allocations: 158.7 kB / 268.5 MB, free: 6.195 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.206e-05/0.01008, allocations: 4 kB / 268.5 MB, free: 6.191 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.756e-05/0.01012, allocations: 40.77 kB / 268.6 MB, free: 6.148 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002093/0.01033, allocations: 54.08 kB / 268.6 MB, free: 6.098 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005386/0.01087, allocations: 491.5 kB / 269.1 MB, free: 5.578 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.836e-05/0.01092, allocations: 88.61 kB / 269.2 MB, free: 5.473 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.761e-05/0.01099, allocations: 38.91 kB / 269.2 MB, free: 5.438 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.637e-05/0.01105, allocations: 87.36 kB / 269.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01105, allocations: 0 / 269.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of Templates: time 0.004159/0.01521, allocations: 1.999 MB / 271.3 MB, free: 3.414 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_initFromFBstart.makefile [Timeout 660] (rm -f IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_initFromFBstart.pipe ; mkfifo IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_initFromFBstart.pipe ; head -c 1048576 < IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_initFromFBstart.pipe >> ../files/IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_initFromFBstart.sim & ./IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_initFromFBstart -abortSlowSimulation -alarm=240 -lv LOG_STATS > IndustrialControlSystems_dev_IndustrialControlSystems.Controllers.Examples.TestPI_initFromFBstart.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.6553523996844888]