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.001271/0.001271, allocations: 110.1 kB / 19.73 MB, free: 2.242 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.001361/0.001361, allocations: 220.3 kB / 23.05 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.367/1.367, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.06172/0.06172, allocations: 11.34 MB / 324.6 MB, free: 8.258 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.001876/0.001876, allocations: 63.91 kB / 451.8 MB, free: 10.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1055, allocations: 56.06 MB / 0.496 GB, free: 2.383 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.002826/0.1083, allocations: 1.629 MB / 0.4976 GB, free: 0.7461 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005582/0.1089, allocations: 251.1 kB / 0.4978 GB, free: 0.5 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.283e-05/0.1089, allocations: 4 kB / 0.4978 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 8.139e-05/0.109, allocations: 7.875 kB / 0.4978 GB, free: 500 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001017/0.1091, allocations: 19.8 kB / 0.4978 GB, free: 480 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.1094, allocations: 71.81 kB / 0.4979 GB, free: 408 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.1096, allocations: 103.7 kB / 0.498 GB, free: 304 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001155/0.1097, allocations: 13.64 kB / 0.498 GB, free: 284 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.972e-05/0.1098, allocations: 47.72 kB / 0.4981 GB, free: 236 kB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.521e-05/0.1099, allocations: 51.77 kB / 0.4981 GB, free: 184 kB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.94e-05/0.1099, allocations: 8 kB / 0.4981 GB, free: 176 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.809e-05/0.1099, allocations: 31.97 kB / 0.4982 GB, free: 144 kB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.701e-05/0.11, allocations: 31.84 kB / 0.4982 GB, free: 112 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.236e-05/0.11, allocations: 43.67 kB / 0.4982 GB, free: 68 kB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.1102, allocations: 115.8 kB / 0.4983 GB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1102, allocations: 0 / 0.4983 GB, free: 15.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1102, allocations: 3.938 kB / 0.4983 GB, free: 15.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.1102, allocations: 0 / 0.4983 GB, free: 15.95 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.0005627/0.1108, allocations: 349.7 kB / 0.4987 GB, free: 15.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.1108, allocations: 12.02 kB / 0.4987 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.613e-05/0.1109, allocations: 4.188 kB / 0.4987 GB, free: 15.56 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.1109, allocations: 34.75 kB / 0.4987 GB, free: 15.52 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.1109, allocations: 16.84 kB / 0.4987 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.1111, allocations: 162.2 kB / 0.4989 GB, free: 15.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.1111, allocations: 12.36 kB / 0.4989 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.369e-05/0.1112, allocations: 4.375 kB / 0.4989 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.1114, allocations: 97.91 kB / 0.499 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1114, allocations: 3.984 kB / 0.499 GB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1114, allocations: 7.984 kB / 0.499 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.716e-06/0.1114, allocations: 0 / 0.499 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001202/0.1115, allocations: 43.98 kB / 0.4991 GB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005576/0.1121, allocations: 343.7 kB / 0.4994 GB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.1123, allocations: 102.6 kB / 0.4995 GB, free: 14.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001031/0.1124, allocations: 52.84 kB / 0.4995 GB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.067e-05/0.1124, allocations: 0 / 0.4995 GB, free: 14.6 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002324/0.1126, allocations: 115.3 kB / 0.4996 GB, free: 14.48 MB / 382.1 MB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.1126, allocations: 0 / 0.4996 GB, free: 14.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004014/0.113, allocations: 188.8 kB / 0.4998 GB, free: 14.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.1131, allocations: 51.41 kB / 0.4999 GB, free: 14.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001532/0.1132, allocations: 171.4 kB / 0.5 GB, free: 14.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.1132, allocations: 37.64 kB / 0.5001 GB, free: 14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.1133, allocations: 112 kB / 0.5002 GB, free: 13.89 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.294e-05/0.1133, allocations: 31.7 kB / 0.5002 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.1134, allocations: 41.7 kB / 0.5003 GB, free: 13.81 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.1135, allocations: 326.8 kB / 0.5006 GB, free: 13.48 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.906e-05/0.1136, allocations: 39.97 kB / 0.5006 GB, free: 13.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001074/0.1137, allocations: 74 kB / 0.5007 GB, free: 13.35 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001857/0.1139, allocations: 129.9 kB / 0.5008 GB, free: 13.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1139, allocations: 0 / 0.5008 GB, free: 13.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002549/0.1142, allocations: 161.4 kB / 0.5009 GB, free: 13.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.1142, allocations: 8 kB / 0.501 GB, free: 13.03 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.1142, allocations: 4 kB / 0.501 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.1142, allocations: 4 kB / 0.501 GB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.1143, allocations: 31.92 kB / 0.501 GB, free: 12.99 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.1143, allocations: 4 kB / 0.501 GB, free: 12.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.727e-05/0.1144, allocations: 11.89 kB / 0.501 GB, free: 12.97 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.1144, allocations: 16.12 kB / 0.501 GB, free: 12.96 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.895e-05/0.1145, allocations: 128.3 kB / 0.5011 GB, free: 12.82 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.53e-05/0.1145, allocations: 23.83 kB / 0.5012 GB, free: 12.8 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.649e-05/0.1146, allocations: 13.47 kB / 0.5012 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.1146, allocations: 0 / 0.5012 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1146, allocations: 0 / 0.5012 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.1146, allocations: 0 / 0.5012 GB, free: 12.79 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000475/0.1151, allocations: 416 kB / 0.5016 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1151, allocations: 0 / 0.5016 GB, free: 12.33 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.1152, allocations: 27.92 kB / 0.5016 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.1152, allocations: 0 / 0.5016 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.1152, allocations: 4 kB / 0.5016 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1152, allocations: 3.938 kB / 0.5016 GB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1152, allocations: 3.938 kB / 0.5016 GB, free: 12.29 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004008/0.1156, allocations: 287.4 kB / 0.5019 GB, free: 12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.375e-05/0.1156, allocations: 23.88 kB / 0.5019 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.1156, allocations: 0 / 0.5019 GB, free: 11.97 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.522e-05/0.1157, allocations: 7.938 kB / 0.5019 GB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.1157, allocations: 11.97 kB / 0.5019 GB, free: 11.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.1157, allocations: 4 kB / 0.5019 GB, free: 11.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.388e-05/0.1158, allocations: 124.9 kB / 0.5021 GB, free: 11.83 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1158, allocations: 0 / 0.5021 GB, free: 11.83 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1161, allocations: 24 kB / 0.5021 GB, free: 11.8 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.0007322/0.1168, allocations: 0.8523 MB / 0.5029 GB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002287/0.1171, allocations: 95.84 kB / 0.503 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.1171, allocations: 448 / 0.503 GB, free: 10.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.1172, allocations: 51.97 kB / 0.5031 GB, free: 10.79 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.1175, allocations: 36.56 kB / 0.5031 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.1197, allocations: 1.924 MB / 0.505 GB, free: 8.711 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.12, allocations: 0.7046 MB / 0.5057 GB, free: 7.98 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.673e-05/0.1201, allocations: 21.34 kB / 0.5057 GB, free: 7.957 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.564e-05/0.1201, allocations: 35.42 kB / 0.5057 GB, free: 7.922 MB / 382.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1201, allocations: 4 kB / 0.5057 GB, free: 7.918 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02538/0.1455, allocations: 3.223 MB / 0.5089 GB, free: 4.859 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.54/10.68, allocations: 18.58 kB / 0.5089 GB, free: 4.844 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.370715123950504] Failed to read output from testmodel.py, exit status != 0: 10.841907765017822 11.059686945 10.946935792 Calling exit ...