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.001359/0.001359, allocations: 107.6 kB / 16.45 MB, free: 6.453 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.001388/0.001388, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.461/1.461, allocations: 230.6 MB / 252.8 MB, free: 8.996 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.06634/0.06634, allocations: 11.31 MB / 320.2 MB, free: 9.453 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonFO",fmuType="me",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.002037/0.002037, allocations: 67.91 kB / 445.8 MB, free: 13.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.11, allocations: 56.01 MB / 0.4901 GB, free: 5.719 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO): time 0.003313/0.1133, allocations: 1.616 MB / 0.4916 GB, free: 4.09 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006618/0.114, allocations: 247.1 kB / 0.4919 GB, free: 3.848 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.951e-05/0.114, allocations: 4 kB / 0.4919 GB, free: 3.844 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.1141, allocations: 11.88 kB / 0.4919 GB, free: 3.832 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.1142, allocations: 19.8 kB / 0.4919 GB, free: 3.812 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003217/0.1145, allocations: 75.8 kB / 0.492 GB, free: 3.738 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001987/0.1147, allocations: 99.7 kB / 0.4921 GB, free: 3.641 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1148, allocations: 13.44 kB / 0.4921 GB, free: 3.621 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.667e-05/0.1149, allocations: 47.72 kB / 0.4921 GB, free: 3.574 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.092e-05/0.1149, allocations: 51.77 kB / 0.4922 GB, free: 3.523 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.001e-05/0.115, allocations: 8 kB / 0.4922 GB, free: 3.516 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.311e-05/0.115, allocations: 31.98 kB / 0.4922 GB, free: 3.484 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.654e-05/0.1151, allocations: 35.83 kB / 0.4923 GB, free: 3.449 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.408e-05/0.1151, allocations: 43.67 kB / 0.4923 GB, free: 3.406 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001813/0.1153, allocations: 111.8 kB / 0.4924 GB, free: 3.297 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/0.1153, allocations: 8 kB / 0.4924 GB, free: 3.289 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1153, allocations: 0 / 0.4924 GB, free: 3.289 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.357e-06/0.1153, allocations: 0 / 0.4924 GB, free: 3.289 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006104/0.1159, allocations: 418.8 kB / 0.4928 GB, free: 2.828 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.116, allocations: 16.03 kB / 0.4928 GB, free: 2.812 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.224e-05/0.116, allocations: 38.73 kB / 0.4929 GB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.225e-05/0.1161, allocations: 16.84 kB / 0.4929 GB, free: 2.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002206/0.1163, allocations: 209.9 kB / 0.4931 GB, free: 2.508 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.006e-05/0.1163, allocations: 12.36 kB / 0.4931 GB, free: 2.496 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.046e-05/0.1163, allocations: 8.312 kB / 0.4931 GB, free: 2.488 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002051/0.1165, allocations: 90.14 kB / 0.4932 GB, free: 2.395 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.1166, allocations: 3.938 kB / 0.4932 GB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.804e-05/0.1166, allocations: 8 kB / 0.4932 GB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.1166, allocations: 0 / 0.4932 GB, free: 2.383 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001314/0.1167, allocations: 47.98 kB / 0.4932 GB, free: 2.336 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006106/0.1173, allocations: 376.6 kB / 0.4936 GB, free: 1.918 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002187/0.1175, allocations: 98.64 kB / 0.4937 GB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001286/0.1177, allocations: 68.7 kB / 0.4938 GB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.1177, allocations: 0 / 0.4938 GB, free: 1.742 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002563/0.1179, allocations: 102.4 kB / 0.4939 GB, free: 1.633 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.1179, allocations: 0 / 0.4939 GB, free: 1.633 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0004394/0.1184, allocations: 185.5 kB / 0.494 GB, free: 1.445 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.1184, allocations: 55.34 kB / 0.4941 GB, free: 1.379 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1186, allocations: 178 kB / 0.4943 GB, free: 1.191 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.478e-05/0.1186, allocations: 29.7 kB / 0.4943 GB, free: 1.156 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.196e-05/0.1187, allocations: 112 kB / 0.4944 GB, free: 1.043 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.1187, allocations: 43.67 kB / 0.4944 GB, free: 1 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.425e-05/0.1188, allocations: 33.72 kB / 0.4945 GB, free: 0.9609 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.1189, allocations: 330.8 kB / 0.4948 GB, free: 0.6289 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.939e-05/0.119, allocations: 31.98 kB / 0.4948 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001177/0.1191, allocations: 81.98 kB / 0.4949 GB, free: 0.4961 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001986/0.1193, allocations: 125.9 kB / 0.495 GB, free: 360 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1193, allocations: 0 / 0.495 GB, free: 360 kB / 366.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002718/0.1196, allocations: 160.2 kB / 0.4952 GB, free: 196 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.1196, allocations: 11.12 kB / 0.4952 GB, free: 188 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.1196, allocations: 192 / 0.4952 GB, free: 188 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1197, allocations: 8 kB / 0.4952 GB, free: 180 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.1198, allocations: 35.91 kB / 0.4952 GB, free: 144 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1198, allocations: 0 / 0.4952 GB, free: 144 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.191e-05/0.1199, allocations: 15.89 kB / 0.4952 GB, free: 128 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.75e-05/0.1199, allocations: 11.98 kB / 0.4952 GB, free: 116 kB / 366.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 0.0001252/0.12, allocations: 129.7 kB / 0.4954 GB, free: 15.98 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.526e-05/0.12, allocations: 11.91 kB / 0.4954 GB, free: 15.96 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.834e-05/0.1201, allocations: 21.53 kB / 0.4954 GB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1201, allocations: 3.938 kB / 0.4954 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1201, allocations: 0 / 0.4954 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1201, allocations: 7.984 kB / 0.4954 GB, free: 15.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005303/0.1206, allocations: 430.5 kB / 0.4958 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1206, allocations: 0 / 0.4958 GB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.1207, allocations: 23.92 kB / 0.4958 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.1207, allocations: 0 / 0.4958 GB, free: 15.43 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.1208, allocations: 8 kB / 0.4958 GB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1208, allocations: 4 kB / 0.4958 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.746e-06/0.1208, allocations: 3.938 kB / 0.4959 GB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004375/0.1212, allocations: 283.4 kB / 0.4961 GB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.906e-05/0.1213, allocations: 92.98 kB / 0.4962 GB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.46e-05/0.1213, allocations: 15.92 kB / 0.4962 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.712e-05/0.1214, allocations: 0 / 0.4962 GB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.836e-05/0.1214, allocations: 15.92 kB / 0.4962 GB, free: 14.98 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.1214, allocations: 16 kB / 0.4963 GB, free: 14.96 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.907e-05/0.1215, allocations: 124.9 kB / 0.4964 GB, free: 14.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1215, allocations: 0 / 0.4964 GB, free: 14.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002853/0.1218, allocations: 24 kB / 0.4964 GB, free: 14.82 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.0007887/0.1226, allocations: 0.8445 MB / 0.4972 GB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.1228, allocations: 95.84 kB / 0.4973 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1229, allocations: 0 / 0.4973 GB, free: 13.86 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001199/0.123, allocations: 51.91 kB / 0.4974 GB, free: 13.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.1233, allocations: 32.62 kB / 0.4974 GB, free: 13.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.1256, allocations: 1.921 MB / 0.4993 GB, free: 11.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.126, allocations: 0.7046 MB / 0.5 GB, free: 11.01 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.395e-05/0.1261, allocations: 21.42 kB / 0.5 GB, free: 10.99 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.048e-05/0.1261, allocations: 39.36 kB / 0.5 GB, free: 10.95 MB / 382.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1261, allocations: 0 / 0.5 GB, free: 10.95 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.1524, allocations: 3.027 MB / 0.503 GB, free: 8.07 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.213/8.365, allocations: 18.67 kB / 0.503 GB, free: 8.059 MB / 382.1 MB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonFO.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonFO.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.287179642007686] Failed to read output from testmodel.py, exit status != 0: 8.435713915998349 8.670459394 8.55277978 Calling exit ...