Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.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.001225/0.001225, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001425/0.001425, allocations: 214.1 kB / 23.04 MB, free: 5.074 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.969 MB / 206.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.06394/0.06394, allocations: 11.34 MB / 324.6 MB, free: 8.195 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: "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.Controllers.Examples.TestI_bias,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IndustrialControlSystems 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.001967/0.001967, allocations: 64.12 kB / 451.8 MB, free: 10.48 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1151, allocations: 56.07 MB / 0.496 GB, free: 2.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.Controllers.Examples.TestI_bias): time 0.003675/0.1188, allocations: 2.241 MB / 0.4982 GB, free: 40 kB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1199, allocations: 0.5387 MB / 0.4987 GB, free: 15.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.1201, allocations: 19.75 kB / 0.4987 GB, free: 15.48 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002282/0.1203, allocations: 59.39 kB / 0.4988 GB, free: 15.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.1204, allocations: 43.55 kB / 0.4988 GB, free: 15.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000735/0.1212, allocations: 291.5 kB / 0.4991 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006907/0.1219, allocations: 0.586 MB / 0.4997 GB, free: 14.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001801/0.122, allocations: 76.42 kB / 0.4997 GB, free: 14.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002319/0.1223, allocations: 191.3 kB / 0.4999 GB, free: 14.24 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.1225, allocations: 191.1 kB / 0.5001 GB, free: 14.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.563e-05/0.1226, allocations: 36 kB / 0.5001 GB, free: 14.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.407e-05/0.1227, allocations: 32 kB / 0.5002 GB, free: 13.99 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001521/0.1228, allocations: 139.5 kB / 0.5003 GB, free: 13.85 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001759/0.123, allocations: 190.8 kB / 0.5005 GB, free: 13.66 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004343/0.1234, allocations: 398 kB / 0.5009 GB, free: 13.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1234, allocations: 0 / 0.5009 GB, free: 13.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1234, allocations: 0 / 0.5009 GB, free: 13.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.1234, allocations: 0 / 0.5009 GB, free: 13.27 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001241/0.1247, allocations: 0.6999 MB / 0.5016 GB, free: 12.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.446e-05/0.1247, allocations: 12.02 kB / 0.5016 GB, free: 12.53 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.908e-05/0.1247, allocations: 9.188 kB / 0.5016 GB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.819e-05/0.1248, allocations: 78.72 kB / 0.5017 GB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.852e-05/0.1249, allocations: 52.61 kB / 0.5017 GB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005207/0.1254, allocations: 332.7 kB / 0.502 GB, free: 12.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.107e-05/0.1255, allocations: 88.97 kB / 0.5021 GB, free: 11.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.27e-05/0.1256, allocations: 40.38 kB / 0.5021 GB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007331/0.1263, allocations: 475.5 kB / 0.5026 GB, free: 11.39 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.461e-05/0.1263, allocations: 11.95 kB / 0.5026 GB, free: 11.38 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.822e-05/0.1264, allocations: 19.98 kB / 0.5026 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.1264, allocations: 8 kB / 0.5026 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005705/0.127, allocations: 322.3 kB / 0.5029 GB, free: 11.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002712/0.1297, allocations: 1.93 MB / 0.5048 GB, free: 9.016 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004685/0.1301, allocations: 166.5 kB / 0.505 GB, free: 8.844 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002062/0.1304, allocations: 124.8 kB / 0.5051 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.1304, allocations: 3.984 kB / 0.5051 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.174e-05/0.1304, allocations: 46.88 kB / 0.5052 GB, free: 8.66 MB / 382.1 MB Notification: Performance of pre-optimization done (n=22): time 1.423e-06/0.1304, allocations: 0 / 0.5052 GB, free: 8.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=22): time 0.0006742/0.1311, allocations: 339.2 kB / 0.5055 GB, free: 8.324 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.594e-05/0.1311, allocations: 51.41 kB / 0.5055 GB, free: 8.262 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004436/0.1316, allocations: 425.8 kB / 0.5059 GB, free: 7.836 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.1316, allocations: 33.7 kB / 0.506 GB, free: 7.797 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.1318, allocations: 260.2 kB / 0.5062 GB, free: 7.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.624e-05/0.1319, allocations: 99.27 kB / 0.5063 GB, free: 7.441 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.132, allocations: 89.95 kB / 0.5064 GB, free: 7.348 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1322, allocations: 354.8 kB / 0.5067 GB, free: 6.992 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002021/0.1324, allocations: 108.7 kB / 0.5068 GB, free: 6.887 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003171/0.1327, allocations: 250.2 kB / 0.5071 GB, free: 6.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001587/0.1343, allocations: 0.6865 MB / 0.5077 GB, free: 5.828 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.1343, allocations: 4 kB / 0.5077 GB, free: 5.824 MB / 382.1 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007389/0.135, allocations: 477 kB / 0.5082 GB, free: 5.352 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.135, allocations: 8 kB / 0.5082 GB, free: 5.344 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.1351, allocations: 4.656 kB / 0.5082 GB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.1351, allocations: 11.94 kB / 0.5082 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004112/0.1355, allocations: 107.8 kB / 0.5083 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.1355, allocations: 15.88 kB / 0.5083 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.1357, allocations: 51.59 kB / 0.5084 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.062e-05/0.1357, allocations: 23.98 kB / 0.5084 GB, free: 5.133 MB / 382.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: 22 * 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 (54): * Single equations (assignments): 54 * 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.0002541/0.136, allocations: 214.4 kB / 0.5086 GB, free: 4.918 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.136, allocations: 39.72 kB / 0.5087 GB, free: 4.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005548/0.1366, allocations: 300.9 kB / 0.5089 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.1366, allocations: 0 / 0.5089 GB, free: 4.578 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.1366, allocations: 8 kB / 0.509 GB, free: 4.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1366, allocations: 3.984 kB / 0.509 GB, free: 4.566 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.1371, allocations: 380.3 kB / 0.5093 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1371, allocations: 0 / 0.5093 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004039/0.1375, allocations: 71.89 kB / 0.5094 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1375, allocations: 0 / 0.5094 GB, free: 4.082 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.766e-05/0.1375, allocations: 11.98 kB / 0.5094 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1375, allocations: 0 / 0.5094 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1375, allocations: 0 / 0.5094 GB, free: 4.07 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007279/0.1382, allocations: 0.491 MB / 0.5099 GB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.344e-05/0.1383, allocations: 43.64 kB / 0.5099 GB, free: 3.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.342e-05/0.1383, allocations: 8 kB / 0.5099 GB, free: 3.512 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001443/0.1385, allocations: 11.98 kB / 0.5099 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.343e-05/0.1385, allocations: 19.97 kB / 0.51 GB, free: 3.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.1386, allocations: 4 kB / 0.51 GB, free: 3.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002977/0.1389, allocations: 287.2 kB / 0.5102 GB, free: 3.199 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1389, allocations: 7.938 kB / 0.5102 GB, free: 3.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003601/0.1392, allocations: 75.78 kB / 0.5103 GB, free: 3.117 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 11 (R.Iout,R_Bias.Iout,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 (24): * Single equations (assignments): 24 * 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 0.001049/0.1403, allocations: 1.043 MB / 0.5113 GB, free: 2.051 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005569/0.1408, allocations: 295.7 kB / 0.5116 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1408, allocations: 1.312 kB / 0.5116 GB, free: 1.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001942/0.141, allocations: 111.9 kB / 0.5117 GB, free: 1.652 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.1414, allocations: 48.45 kB / 0.5118 GB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2267/0.3681, allocations: 3.843 MB / 0.5155 GB, free: 21.64 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000245/0.3684, allocations: 0.8453 MB / 0.5163 GB, free: 20.95 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001914/0.3686, allocations: 76.17 kB / 0.5164 GB, free: 20.95 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.3687, allocations: 148.9 kB / 0.5166 GB, free: 20.94 MB / 382.1 MB Notification: Performance of SimCode: time 1.022e-06/0.3687, allocations: 0 / 0.5166 GB, free: 20.94 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03079/0.3995, allocations: 7.033 MB / 0.5234 GB, free: 20.3 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.48, allocations: 3.125 kB / 0.5234 GB, free: 20.3 MB / 382.1 MB " [Timeout remaining time 648] (rm -f IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_Controllers_Examples_TestI_bias.fmu > IndustrialControlSystems_IndustrialControlSystems.Controllers.Examples.TestI_bias.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.12260396394413] Failed to read output from testmodel.py, exit status != 0: 11.637818888062611 11.661349204 11.533896967 Calling exit ...