Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.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.000824/0.000824, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008972/0.0008972, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.912/0.912, allocations: 177.1 MB / 202.8 MB, free: 5.555 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.03569/0.03569, allocations: 8.609 MB / 267.8 MB, free: 5.02 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.BasicComparisonComplex,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonComplex",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonComplex",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 395.1 MB, free: 1.504 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.654e-05, allocations: 6.219 kB / 395.1 MB, free: 1.496 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.002097/0.002113, allocations: 1.639 MB / 396.7 MB, free: 15.84 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005343/0.002648, allocations: 346.7 kB / 397 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.608e-05/0.002704, allocations: 3.938 kB / 397 MB, free: 15.5 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 3.53e-05/0.002739, allocations: 15.8 kB / 397.1 MB, free: 15.48 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 9.454e-05/0.002834, allocations: 27.73 kB / 397.1 MB, free: 15.46 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003124/0.003146, allocations: 115.7 kB / 397.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.003316, allocations: 167.5 kB / 397.4 MB, free: 15.18 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.003424, allocations: 21.67 kB / 397.4 MB, free: 15.16 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.904e-05/0.003503, allocations: 95.72 kB / 397.5 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.865e-05/0.003581, allocations: 63.78 kB / 397.5 MB, free: 15 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.353e-05/0.003605, allocations: 12 kB / 397.6 MB, free: 14.99 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.504e-05/0.0037, allocations: 75.92 kB / 397.6 MB, free: 14.92 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.025e-05/0.00373, allocations: 39.84 kB / 397.7 MB, free: 14.88 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.84e-05/0.003779, allocations: 55.75 kB / 397.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.003983, allocations: 219.4 kB / 397.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.515e-06/0.003985, allocations: 0 / 397.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003986, allocations: 0 / 397.9 MB, free: 14.61 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.178e-06/0.00399, allocations: 0 / 397.9 MB, free: 14.61 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000528/0.004518, allocations: 421.4 kB / 398.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.004552, allocations: 8.031 kB / 398.4 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.004585, allocations: 42.73 kB / 398.4 MB, free: 14.11 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.004626, allocations: 20.84 kB / 398.4 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001787/0.004805, allocations: 182 kB / 398.6 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.004816, allocations: 12.56 kB / 398.6 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.576e-05/0.004842, allocations: 16.31 kB / 398.6 MB, free: 13.86 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.005085, allocations: 277.6 kB / 398.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.005094, allocations: 0 / 398.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.005107, allocations: 0 / 398.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.005111, allocations: 4 kB / 398.9 MB, free: 13.54 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.005216, allocations: 63.95 kB / 399 MB, free: 13.47 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005133/0.005729, allocations: 407.5 kB / 399.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.005903, allocations: 118.6 kB / 399.5 MB, free: 12.91 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.368e-05/0.005987, allocations: 69 kB / 399.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.17e-05/0.005999, allocations: 7.938 kB / 399.6 MB, free: 12.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002056/0.006204, allocations: 135.3 kB / 399.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.272e-06/0.006205, allocations: 0 / 399.7 MB, free: 12.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003702/0.006576, allocations: 271.8 kB / 400 MB, free: 12.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.46e-05/0.00664, allocations: 166.2 kB / 400.1 MB, free: 12.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.006771, allocations: 210.8 kB / 400.3 MB, free: 11.99 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.876e-05/0.006789, allocations: 33.7 kB / 400.4 MB, free: 11.95 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.006853, allocations: 128.5 kB / 400.5 MB, free: 11.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.006884, allocations: 55.55 kB / 400.5 MB, free: 11.77 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.321e-05/0.006938, allocations: 57.69 kB / 400.6 MB, free: 11.71 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.007015, allocations: 326.8 kB / 400.9 MB, free: 11.38 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.984e-05/0.007085, allocations: 52.25 kB / 401 MB, free: 11.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001394/0.007224, allocations: 278 kB / 401.2 MB, free: 10.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002228/0.007447, allocations: 229.8 kB / 401.5 MB, free: 10.72 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.007449, allocations: 3.938 kB / 401.5 MB, free: 10.71 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0002532/0.007702, allocations: 253.5 kB / 401.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.007715, allocations: 4 kB / 401.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.007721, allocations: 4 kB / 401.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.007733, allocations: 4 kB / 401.7 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.007861, allocations: 43.92 kB / 401.8 MB, free: 10.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.007869, allocations: 7.984 kB / 401.8 MB, free: 10.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/0.007938, allocations: 31.83 kB / 401.8 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.007948, allocations: 8 kB / 401.8 MB, free: 10.36 MB / 330.7 MB Warning: Assuming fixed start value for the following 3 variables: cplxP_dig_TU.u_pre1:DISCRETE(fixed = true protected = true ) type: Real cplxP_dig_FE.u_pre1:DISCRETE(fixed = true protected = true ) type: Real cplxP_dig_BE.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.cplxP_dig_TU.u_pre1,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_TU.y_pre1,$PRE.cplxP_dig_FE.u_pre1,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_FE.y_pre1,$PRE.cplxP_dig_BE.u_pre1,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,$PRE.cplxP_dig_BE.y_pre1,$whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_TU.y,$PRE.cplxP_dig_TU.y,cplxP_dig_FE.y,$PRE.cplxP_dig_FE.y,cplxP_dig_BE.y,$PRE.cplxP_dig_BE.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001371/0.008085, allocations: 163.7 kB / 402 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.008106, allocations: 19.84 kB / 402 MB, free: 10.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.295e-05/0.008139, allocations: 21.81 kB / 402 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.995e-06/0.008142, allocations: 4 kB / 402 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.008147, allocations: 0 / 402 MB, free: 10.15 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.008152, allocations: 3.984 kB / 402 MB, free: 10.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006823/0.008835, allocations: 489.4 kB / 402.5 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.008837, allocations: 0 / 402.5 MB, free: 9.617 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.22e-05/0.008929, allocations: 31.92 kB / 402.5 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.008932, allocations: 0 / 402.5 MB, free: 9.586 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.008946, allocations: 7.984 kB / 402.5 MB, free: 9.578 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.008948, allocations: 4 kB / 402.5 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.00895, allocations: 0 / 402.5 MB, free: 9.574 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.009308, allocations: 373.1 kB / 402.9 MB, free: 9.195 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.203e-05/0.00933, allocations: 27.88 kB / 402.9 MB, free: 9.168 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.796e-05/0.009358, allocations: 8 kB / 402.9 MB, free: 9.16 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.933e-05/0.009417, allocations: 7.984 kB / 402.9 MB, free: 9.152 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/0.009459, allocations: 11.98 kB / 403 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.265e-05/0.009472, allocations: 19.98 kB / 403 MB, free: 9.121 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.262e-05/0.009555, allocations: 144.2 kB / 403.1 MB, free: 8.98 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009555, allocations: 0 / 403.1 MB, free: 8.98 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002402/0.009795, allocations: 59.8 kB / 403.2 MB, free: 8.922 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (cplxP.y,cplxP.dy) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,cplxP_dig_BE.y,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y_pre1,cplxP_dig_FE.y,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y_pre1,cplxP_dig_TU.y,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y_pre1) * Number of discrete states: 12 (cplxP_dig_TU.u,cplxP_dig_TU.u_pre1,cplxP_dig_TU.y,cplxP_dig_TU.y_pre1,cplxP_dig_FE.u,cplxP_dig_FE.u_pre1,cplxP_dig_FE.y,cplxP_dig_FE.y_pre1,cplxP_dig_BE.u,cplxP_dig_BE.u_pre1,cplxP_dig_BE.y,cplxP_dig_BE.y_pre1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.0005967/0.01039, allocations: 0.9494 MB / 404.1 MB, free: 7.949 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002304/0.01062, allocations: 162 kB / 404.3 MB, free: 7.793 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.01062, allocations: 0 / 404.3 MB, free: 7.793 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 8.203e-05/0.01071, allocations: 63.91 kB / 404.3 MB, free: 7.73 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002264/0.01093, allocations: 39.75 kB / 404.4 MB, free: 7.691 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001845/0.01278, allocations: 2.399 MB / 406.8 MB, free: 5.125 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.955e-05/0.01285, allocations: 108.6 kB / 406.9 MB, free: 5 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 5.976e-05/0.01291, allocations: 25.94 kB / 406.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.329e-05/0.01297, allocations: 56.47 kB / 407 MB, free: 4.918 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.01297, allocations: 0 / 407 MB, free: 4.918 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1445/0.1575, allocations: 5.279 MB / 412.2 MB, free: 29.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.083/7.241, allocations: 9.047 kB / 412.3 MB, free: 29.07 MB / 330.7 MB " [Timeout remaining time 653] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex_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_BasicComparisonComplex.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.059605227783322] Failed to read output from testmodel.py, exit status != 0: 7.327472859062254 7.343434069 7.337536111 Calling exit ...