Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.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.0008681/0.0008681, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001041/0.001041, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.9118/0.9118, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 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.03599/0.03599, allocations: 8.613 MB / 267.8 MB, free: 5.121 MB / 250.7 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.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 395.1 MB, free: 2.684 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.196e-05, allocations: 6.219 kB / 395.1 MB, free: 2.676 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.001906/0.001928, allocations: 1.614 MB / 396.7 MB, free: 1.055 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004774/0.002405, allocations: 303.5 kB / 397 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.002458, allocations: 0 / 397 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 3.14e-05/0.002489, allocations: 11.81 kB / 397 MB, free: 0.7461 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 9.33e-05/0.002582, allocations: 23.73 kB / 397 MB, free: 0.7227 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.00288, allocations: 91.72 kB / 397.1 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001519/0.003032, allocations: 127.7 kB / 397.2 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.003149, allocations: 21.8 kB / 397.2 MB, free: 500 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003142/0.003463, allocations: 79.69 kB / 397.3 MB, free: 420 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.638e-05/0.003539, allocations: 47.8 kB / 397.4 MB, free: 372 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.188e-05/0.003561, allocations: 12 kB / 397.4 MB, free: 360 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.217e-05/0.003623, allocations: 31.98 kB / 397.4 MB, free: 328 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.734e-05/0.003651, allocations: 35.84 kB / 397.4 MB, free: 292 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.003689, allocations: 39.84 kB / 397.5 MB, free: 252 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.00386, allocations: 155.5 kB / 397.6 MB, free: 96 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.003862, allocations: 0 / 397.6 MB, free: 96 kB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.003863, allocations: 0 / 397.6 MB, free: 96 kB / 362.7 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.003867, allocations: 4 kB / 397.6 MB, free: 92 kB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005004/0.004368, allocations: 385.5 kB / 398 MB, free: 15.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.004404, allocations: 12.03 kB / 398 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.304e-05/0.004437, allocations: 38.73 kB / 398.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.901e-05/0.004477, allocations: 24.77 kB / 398.1 MB, free: 15.6 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001626/0.004639, allocations: 177.5 kB / 398.3 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.438e-06/0.004649, allocations: 4.375 kB / 398.3 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.32e-05/0.004672, allocations: 8.375 kB / 398.3 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002171/0.004889, allocations: 245.2 kB / 398.5 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.004896, allocations: 4.188 kB / 398.5 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.004909, allocations: 4.375 kB / 398.5 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.004915, allocations: 4.125 kB / 398.5 MB, free: 15.09 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.419e-05/0.005009, allocations: 51.97 kB / 398.6 MB, free: 15.04 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004988/0.005508, allocations: 347.7 kB / 398.9 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.005685, allocations: 110.6 kB / 399 MB, free: 14.54 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.717e-05/0.005762, allocations: 60.78 kB / 399.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.005775, allocations: 0 / 399.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002166/0.005991, allocations: 119.3 kB / 399.2 MB, free: 14.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.005993, allocations: 0 / 399.2 MB, free: 14.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003405/0.006333, allocations: 196.4 kB / 399.4 MB, free: 14.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.661e-05/0.00641, allocations: 174.1 kB / 399.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.006544, allocations: 195.8 kB / 399.8 MB, free: 13.74 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.006563, allocations: 33.7 kB / 399.8 MB, free: 13.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.555e-05/0.006629, allocations: 116.2 kB / 399.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.766e-05/0.006656, allocations: 47.64 kB / 399.9 MB, free: 13.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.868e-05/0.006705, allocations: 37.7 kB / 400 MB, free: 13.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.529e-05/0.00679, allocations: 330.8 kB / 400.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.343e-05/0.006844, allocations: 35.98 kB / 400.3 MB, free: 13.13 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.006961, allocations: 220.2 kB / 400.6 MB, free: 12.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.007097, allocations: 129.9 kB / 400.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.0071, allocations: 0 / 400.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001763/0.007276, allocations: 174.9 kB / 400.9 MB, free: 12.53 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.007289, allocations: 4 kB / 400.9 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.007293, allocations: 0 / 400.9 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.007306, allocations: 4 kB / 400.9 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.706e-05/0.007403, allocations: 32.17 kB / 400.9 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.007411, allocations: 7.938 kB / 400.9 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.421e-05/0.007495, allocations: 23.88 kB / 400.9 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.007508, allocations: 4 kB / 400.9 MB, free: 12.46 MB / 378.7 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,ll_dig_TU.y,$PRE.ll_dig_TU.y,ll_dig_FE.y,$PRE.ll_dig_FE.y,ll_dig_BE.y,$PRE.ll_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 21 * 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 7.533e-05/0.007583, allocations: 129.7 kB / 401.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.674e-05/0.0076, allocations: 19.91 kB / 401.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.234e-05/0.007632, allocations: 21.45 kB / 401.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.007635, allocations: 4 kB / 401.1 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.007639, allocations: 0 / 401.1 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.007644, allocations: 7.938 kB / 401.1 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000346/0.00799, allocations: 417.5 kB / 401.5 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.007991, allocations: 0 / 401.5 MB, free: 11.81 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.136e-05/0.008053, allocations: 19.98 kB / 401.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.008055, allocations: 0 / 401.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.008064, allocations: 0 / 401.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.008068, allocations: 7.938 kB / 401.5 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.00807, allocations: 7.938 kB / 401.6 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002924/0.008363, allocations: 319.4 kB / 401.9 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.683e-05/0.00838, allocations: 15.94 kB / 401.9 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.0084, allocations: 7.984 kB / 401.9 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.898e-05/0.008479, allocations: 11.94 kB / 401.9 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.008521, allocations: 11.97 kB / 401.9 MB, free: 11.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.00853, allocations: 8 kB / 401.9 MB, free: 11.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.215e-05/0.008602, allocations: 135.2 kB / 402.1 MB, free: 11.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008602, allocations: 0 / 402.1 MB, free: 11.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001927/0.008795, allocations: 35.94 kB / 402.1 MB, free: 11.22 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (ll.dy) * Number of discrete variables: 6 ($whenCondition3,$whenCondition2,$whenCondition1,ll_dig_BE.y,ll_dig_FE.y,ll_dig_TU.y) * Number of discrete states: 6 (ll_dig_TU.u,ll_dig_TU.y,ll_dig_FE.u,ll_dig_FE.y,ll_dig_BE.u,ll_dig_BE.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.0005385/0.009334, allocations: 0.8794 MB / 403 MB, free: 10.32 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001866/0.00952, allocations: 104.7 kB / 403.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.009522, allocations: 0 / 403.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.991e-05/0.009592, allocations: 51.97 kB / 403.1 MB, free: 10.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.009821, allocations: 42.81 kB / 403.2 MB, free: 10.13 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.01173, allocations: 2.071 MB / 405.2 MB, free: 7.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.359e-05/0.01179, allocations: 102.2 kB / 405.3 MB, free: 7.809 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.88e-05/0.01185, allocations: 25.47 kB / 405.4 MB, free: 7.785 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.749e-05/0.01191, allocations: 40.48 kB / 405.4 MB, free: 7.746 MB / 378.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01191, allocations: 0 / 405.4 MB, free: 7.746 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01675/0.02866, allocations: 4.515 MB / 409.9 MB, free: 3.391 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.708/6.737, allocations: 7.094 kB / 409.9 MB, free: 3.387 MB / 378.7 MB " [Timeout remaining time 653] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL_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_BasicComparisonLL.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.614854767918587] Failed to read output from testmodel.py, exit status != 0: 6.821167590096593 6.830313416 6.82453353 Calling exit ...