Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.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.001251/0.001251, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.00139/0.00139, allocations: 217.8 kB / 23.03 MB, free: 4.922 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.327/1.327, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 179] 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.06119/0.06119, allocations: 11.35 MB / 324.6 MB, free: 8.051 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.LinearSystems.Examples.BasicComparisonFO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonFO",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonFO",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.001841/0.001841, allocations: 71.83 kB / 451.7 MB, free: 10.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09847/0.1003, allocations: 56.06 MB / 0.4959 GB, free: 2.191 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.002948/0.1033, allocations: 1.583 MB / 0.4975 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005394/0.1038, allocations: 235.2 kB / 0.4977 GB, free: 376 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.686e-05/0.1039, allocations: 7.938 kB / 0.4977 GB, free: 368 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.311e-05/0.1039, allocations: 7.875 kB / 0.4977 GB, free: 360 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 9.909e-05/0.104, allocations: 15.86 kB / 0.4977 GB, free: 344 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002886/0.1043, allocations: 67.81 kB / 0.4978 GB, free: 276 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001692/0.1044, allocations: 103.7 kB / 0.4979 GB, free: 172 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1046, allocations: 21.62 kB / 0.4979 GB, free: 144 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.273e-05/0.1046, allocations: 39.78 kB / 0.4979 GB, free: 104 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.887e-05/0.1047, allocations: 51.7 kB / 0.498 GB, free: 52 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.1047, allocations: 8 kB / 0.498 GB, free: 44 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.463e-05/0.1048, allocations: 39.97 kB / 0.498 GB, free: 4 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.738e-05/0.1048, allocations: 23.86 kB / 0.4981 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.1049, allocations: 47.72 kB / 0.4981 GB, free: 15.93 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.1051, allocations: 107.8 kB / 0.4982 GB, free: 15.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1051, allocations: 0 / 0.4982 GB, free: 15.83 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1051, allocations: 0 / 0.4982 GB, free: 15.83 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.1051, allocations: 0 / 0.4982 GB, free: 15.83 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005549/0.1056, allocations: 353.7 kB / 0.4985 GB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1057, allocations: 12.03 kB / 0.4985 GB, free: 15.44 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.067e-05/0.1057, allocations: 4.188 kB / 0.4986 GB, free: 15.43 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.46e-05/0.1058, allocations: 42.69 kB / 0.4986 GB, free: 15.38 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.282e-05/0.1058, allocations: 12.84 kB / 0.4986 GB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.106, allocations: 154.3 kB / 0.4988 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.106, allocations: 4.375 kB / 0.4988 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.482e-05/0.106, allocations: 12.38 kB / 0.4988 GB, free: 15.18 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.1062, allocations: 93.89 kB / 0.4989 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.1062, allocations: 0 / 0.4989 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.1062, allocations: 0 / 0.4989 GB, free: 15.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.1063, allocations: 7.938 kB / 0.4989 GB, free: 15.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.1064, allocations: 51.91 kB / 0.4989 GB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005665/0.1069, allocations: 327.8 kB / 0.4992 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002131/0.1072, allocations: 106.5 kB / 0.4993 GB, free: 14.55 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001133/0.1073, allocations: 52.84 kB / 0.4994 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.13e-05/0.1073, allocations: 0 / 0.4994 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002281/0.1075, allocations: 107.3 kB / 0.4995 GB, free: 14.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.483e-06/0.1075, allocations: 4 kB / 0.4995 GB, free: 14.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004188/0.1079, allocations: 188.7 kB / 0.4997 GB, free: 14.18 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.444e-05/0.108, allocations: 55.41 kB / 0.4997 GB, free: 14.12 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001562/0.1081, allocations: 167.4 kB / 0.4999 GB, free: 13.94 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.027e-05/0.1082, allocations: 29.7 kB / 0.4999 GB, free: 13.9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/0.1082, allocations: 116 kB / 0.5 GB, free: 13.79 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.1083, allocations: 35.69 kB / 0.5001 GB, free: 13.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.567e-05/0.1083, allocations: 37.7 kB / 0.5001 GB, free: 13.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1085, allocations: 326.8 kB / 0.5004 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.869e-05/0.1085, allocations: 39.98 kB / 0.5004 GB, free: 13.34 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.1087, allocations: 84.22 kB / 0.5005 GB, free: 13.24 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001955/0.1089, allocations: 133.8 kB / 0.5006 GB, free: 13.09 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.1089, allocations: 0 / 0.5006 GB, free: 13.09 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000253/0.1091, allocations: 157.5 kB / 0.5008 GB, free: 12.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.1091, allocations: 7.984 kB / 0.5008 GB, free: 12.92 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1091, allocations: 4 kB / 0.5008 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.1091, allocations: 3.938 kB / 0.5008 GB, free: 12.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.1093, allocations: 31.98 kB / 0.5008 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1093, allocations: 0 / 0.5008 GB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.772e-05/0.1093, allocations: 15.89 kB / 0.5009 GB, free: 12.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.885e-05/0.1094, allocations: 12.12 kB / 0.5009 GB, free: 12.85 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,fO_dig_TU.y,$PRE.fO_dig_TU.y,fO_dig_FE.y,$PRE.fO_dig_FE.y,fO_dig_BE.y,$PRE.fO_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 9.979e-05/0.1095, allocations: 128.1 kB / 0.501 GB, free: 12.72 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.1095, allocations: 15.91 kB / 0.501 GB, free: 12.7 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.095e-05/0.1095, allocations: 17.45 kB / 0.501 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1095, allocations: 4 kB / 0.501 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.1095, allocations: 0 / 0.501 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.1095, allocations: 0 / 0.501 GB, free: 12.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004815/0.11, allocations: 404.5 kB / 0.5014 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.11, allocations: 0 / 0.5014 GB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.481e-05/0.1101, allocations: 23.92 kB / 0.5014 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.1101, allocations: 4 kB / 0.5014 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1101, allocations: 0 / 0.5014 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.456e-06/0.1101, allocations: 3.938 kB / 0.5014 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1101, allocations: 0 / 0.5014 GB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004177/0.1106, allocations: 295.3 kB / 0.5017 GB, free: 11.9 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.329e-05/0.1106, allocations: 15.88 kB / 0.5017 GB, free: 11.89 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.569e-05/0.1106, allocations: 8 kB / 0.5017 GB, free: 11.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.841e-05/0.1107, allocations: 11.92 kB / 0.5018 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.1107, allocations: 3.984 kB / 0.5018 GB, free: 11.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.1107, allocations: 8.062 kB / 0.5018 GB, free: 11.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.558e-05/0.1108, allocations: 128.9 kB / 0.5019 GB, free: 11.73 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1108, allocations: 0 / 0.5019 GB, free: 11.73 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002512/0.1111, allocations: 24 kB / 0.5019 GB, free: 11.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (fO.y) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,fO_dig_BE.y,fO_dig_FE.y,fO_dig_TU.y) * Number of discrete states: 6 (fO_dig_TU.u,fO_dig_TU.y,fO_dig_FE.u,fO_dig_FE.y,fO_dig_BE.u,fO_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0007445/0.1118, allocations: 0.845 MB / 0.5027 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002293/0.1121, allocations: 103.1 kB / 0.5028 GB, free: 10.74 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1121, allocations: 8 kB / 0.5028 GB, free: 10.73 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.1122, allocations: 47.92 kB / 0.5029 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002977/0.1125, allocations: 35.16 kB / 0.5029 GB, free: 10.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.1147, allocations: 1.916 MB / 0.5048 GB, free: 8.621 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.207e-05/0.1148, allocations: 97.62 kB / 0.5049 GB, free: 8.504 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.559e-05/0.1148, allocations: 17.36 kB / 0.5049 GB, free: 8.48 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.202e-05/0.1149, allocations: 39.42 kB / 0.5049 GB, free: 8.445 MB / 382.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1149, allocations: 0 / 0.5049 GB, free: 8.445 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.1383, allocations: 3.264 MB / 0.5081 GB, free: 5.348 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.48/10.62, allocations: 23.59 kB / 0.5082 GB, free: 5.328 MB / 382.1 MB " [Timeout remaining time 649] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonFO_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonFO.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.214319690014236] Failed to read output from testmodel.py, exit status != 0: 10.7748747470323 10.945964922 10.8385953 Calling exit ...