Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.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.001234/0.001234, allocations: 118.7 kB / 17.13 MB, free: 5.781 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.001257/0.001257, allocations: 193.2 kB / 20.08 MB, free: 2.871 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.425/1.425, allocations: 225.6 MB / 248.5 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.05975/0.05975, allocations: 11.34 MB / 314.7 MB, free: 0.7969 MB / 238.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-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(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") translateModel(IndustrialControlSystems.Controllers.Examples.TestPI_bias,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001894/0.001894, allocations: 71.89 kB / 438.5 MB, free: 7.707 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2291, allocations: 54.84 MB / 493.3 MB, free: 24.02 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestPI_bias): time 0.002954/0.2321, allocations: 2.258 MB / 495.6 MB, free: 22.41 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.2331, allocations: 0.5871 MB / 496.2 MB, free: 22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001518/0.2333, allocations: 14.75 kB / 496.2 MB, free: 22 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002196/0.2335, allocations: 72.2 kB / 496.3 MB, free: 21.95 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.2336, allocations: 40.44 kB / 496.3 MB, free: 21.91 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006392/0.2342, allocations: 281.1 kB / 496.6 MB, free: 21.77 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005328/0.2348, allocations: 0.5708 MB / 497.2 MB, free: 21.52 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.2349, allocations: 74.8 kB / 497.2 MB, free: 21.48 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001989/0.2351, allocations: 190.2 kB / 497.4 MB, free: 21.39 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000262/0.2354, allocations: 211.6 kB / 497.6 MB, free: 21.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 5.989e-05/0.2354, allocations: 30.41 kB / 497.7 MB, free: 21.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.558e-05/0.2355, allocations: 31.72 kB / 497.7 MB, free: 21.29 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.2356, allocations: 136 kB / 497.8 MB, free: 21.23 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001374/0.2358, allocations: 196.7 kB / 498 MB, free: 21.09 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003905/0.2362, allocations: 416.9 kB / 498.4 MB, free: 20.89 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.2362, allocations: 0 / 498.4 MB, free: 20.89 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2362, allocations: 1.031 kB / 498.4 MB, free: 20.89 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.2362, allocations: 0 / 498.4 MB, free: 20.89 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001039/0.2372, allocations: 0.7642 MB / 499.2 MB, free: 20.27 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/0.2373, allocations: 12.77 kB / 499.2 MB, free: 20.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.812e-05/0.2374, allocations: 59.75 kB / 499.3 MB, free: 20.24 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004562/0.2378, allocations: 414.5 kB / 499.7 MB, free: 19.88 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.131e-05/0.2378, allocations: 30.5 kB / 499.7 MB, free: 19.87 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.492e-05/0.2379, allocations: 43.08 kB / 499.7 MB, free: 19.85 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006479/0.2386, allocations: 492.2 kB / 0.4885 GB, free: 19.52 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.492e-05/0.2386, allocations: 6.578 kB / 0.4885 GB, free: 19.51 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.672e-05/0.2386, allocations: 24.25 kB / 0.4885 GB, free: 19.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.2386, allocations: 10.22 kB / 0.4885 GB, free: 19.49 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005433/0.2392, allocations: 345.6 kB / 0.4889 GB, free: 19.34 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.2412, allocations: 1.944 MB / 0.4908 GB, free: 17.71 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007149/0.2419, allocations: 218.6 kB / 0.491 GB, free: 17.6 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.2421, allocations: 117.6 kB / 0.4911 GB, free: 17.54 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.739e-05/0.2422, allocations: 3.406 kB / 0.4911 GB, free: 17.54 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.446e-05/0.2422, allocations: 36.84 kB / 0.4911 GB, free: 17.5 MB / 366.1 MB Notification: Performance of pre-optimization done (n=25): time 1.853e-06/0.2422, allocations: 0 / 0.4911 GB, free: 17.5 MB / 366.1 MB Notification: Performance of matching and sorting (n=25): time 0.0006628/0.2428, allocations: 366.2 kB / 0.4915 GB, free: 17.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.263e-05/0.2429, allocations: 61.77 kB / 0.4915 GB, free: 17.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003828/0.2432, allocations: 446.1 kB / 0.4919 GB, free: 16.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.2433, allocations: 30.8 kB / 0.492 GB, free: 16.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.2434, allocations: 272.8 kB / 0.4922 GB, free: 16.68 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.991e-05/0.2434, allocations: 103.3 kB / 0.4923 GB, free: 16.59 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.2435, allocations: 91.64 kB / 0.4924 GB, free: 16.54 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.748e-05/0.2436, allocations: 361.9 kB / 0.4928 GB, free: 16.18 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.2438, allocations: 108.4 kB / 0.4929 GB, free: 16.13 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002459/0.244, allocations: 279.7 kB / 0.4931 GB, free: 15.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.2459, allocations: 0.7402 MB / 0.4939 GB, free: 15.35 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2459, allocations: 6.281 kB / 0.4939 GB, free: 15.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007149/0.2466, allocations: 0.4973 MB / 0.4944 GB, free: 15.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.2467, allocations: 11.66 kB / 0.4944 GB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.2467, allocations: 9.562 kB / 0.4944 GB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/0.2467, allocations: 8.219 kB / 0.4944 GB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000402/0.2471, allocations: 116.8 kB / 0.4945 GB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.262e-05/0.2471, allocations: 12.14 kB / 0.4945 GB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002111/0.2473, allocations: 61.95 kB / 0.4946 GB, free: 15 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.237e-05/0.2474, allocations: 21.72 kB / 0.4946 GB, free: 15 MB / 366.1 MB Warning: Assuming fixed start value for the following 9 variables: ProcessBias.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessBias.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessBias.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] processNoCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real processNoCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] processNoCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] ProcessCtrl.w:VARIABLE(fixed = true protected = true ) \"proper part of the output\" type: Real ProcessCtrl.U[2]:VARIABLE(fixed = true protected = true ) type: Real [2] ProcessCtrl.Y[3]:VARIABLE(fixed = true protected = true ) type: Real [3] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 8 (R_Bias.TS_in,R.TS_in,R_Bias.satLOW_in,R_Bias.satHIGH_in,R_Bias.ATreq_in,R.satLOW_in,R.satHIGH_in,R.ATreq_in) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * 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.0002364/0.2476, allocations: 204 kB / 0.4948 GB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.097e-05/0.2476, allocations: 42.22 kB / 0.4948 GB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000566/0.2482, allocations: 339.6 kB / 0.4951 GB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.2482, allocations: 6.75 kB / 0.4951 GB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.2482, allocations: 0 / 0.4951 GB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.2482, allocations: 0.9688 kB / 0.4951 GB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.2486, allocations: 414.7 kB / 0.4955 GB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2486, allocations: 0 / 0.4955 GB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004262/0.249, allocations: 83.86 kB / 0.4956 GB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.2491, allocations: 1 kB / 0.4956 GB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.2491, allocations: 12.48 kB / 0.4956 GB, free: 14.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.2491, allocations: 5.062 kB / 0.4956 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2491, allocations: 0 / 0.4956 GB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006719/0.2498, allocations: 0.5154 MB / 0.4961 GB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.2498, allocations: 126.1 kB / 0.4963 GB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.351e-05/0.2499, allocations: 15.62 kB / 0.4963 GB, free: 13.77 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001591/0.25, allocations: 18.58 kB / 0.4963 GB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.2501, allocations: 16.16 kB / 0.4963 GB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.758e-05/0.2501, allocations: 14.75 kB / 0.4963 GB, free: 13.74 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002543/0.2504, allocations: 288.3 kB / 0.4966 GB, free: 13.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2504, allocations: 112 / 0.4966 GB, free: 13.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003946/0.2508, allocations: 85.75 kB / 0.4967 GB, free: 13.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.FBout,R_Bias.FBout,ProcessCtrl.Y[3],ProcessCtrl.U[2],ProcessCtrl.w,processNoCtrl.Y[3],processNoCtrl.U[2],processNoCtrl.w,ProcessBias.Y[3],ProcessBias.U[2],ProcessBias.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 29 * 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 Backend phase and start with SimCode phase: time 9.646e-05/0.2508, allocations: 114.5 kB / 0.4968 GB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005351/0.2514, allocations: 315.9 kB / 0.4971 GB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2514, allocations: 1.125 kB / 0.4971 GB, free: 13.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002012/0.2516, allocations: 123.8 kB / 0.4972 GB, free: 13.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.252, allocations: 45.45 kB / 0.4973 GB, free: 13.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.2532, allocations: 0.9444 MB / 0.4982 GB, free: 12.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.2534, allocations: 0.8556 MB / 0.499 GB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.2535, allocations: 43.02 kB / 0.4991 GB, free: 11.79 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2535, allocations: 0 / 0.4991 GB, free: 11.79 MB / 366.1 MB Notification: Performance of Templates: time 0.006786/0.2603, allocations: 4.867 MB / 0.5038 GB, free: 9.266 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.makefile [Timeout 660] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.sim & ./IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestPI_bias.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.149760232074186] Failed to read output from testmodel.py, exit status != 0: 0.26769339200109243 0.27709354 0.038104517000000004 Calling exit ...