Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.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.0007685/0.0007685, 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.0007944/0.0007944, 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.9196/0.9196, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.03804/0.03804, allocations: 8.617 MB / 267.8 MB, free: 5.117 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.Basic,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IndustrialControlSystems.LinearSystems.Examples.Basic,fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 395.1 MB, free: 2.664 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.448e-05/1.603e-05, allocations: 2.281 kB / 395.1 MB, free: 2.66 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.00236/0.002376, allocations: 1.797 MB / 396.9 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.000799/0.003175, allocations: 0.5525 MB / 397.4 MB, free: 308 kB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.217e-05/0.003257, allocations: 7.875 kB / 397.4 MB, free: 300 kB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 4.221e-05/0.0033, allocations: 15.75 kB / 397.4 MB, free: 284 kB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001799/0.00348, allocations: 39.61 kB / 397.5 MB, free: 244 kB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004856/0.003965, allocations: 190.7 kB / 397.7 MB, free: 56 kB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002177/0.004183, allocations: 207.5 kB / 397.9 MB, free: 15.85 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.004314, allocations: 40.52 kB / 397.9 MB, free: 15.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.705e-05/0.004412, allocations: 123.6 kB / 398 MB, free: 15.68 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.098e-05/0.004503, allocations: 75.69 kB / 398.1 MB, free: 15.61 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.633e-05/0.004529, allocations: 20 kB / 398.1 MB, free: 15.59 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.004686, allocations: 139.9 kB / 398.3 MB, free: 15.45 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.829e-05/0.004724, allocations: 51.77 kB / 398.3 MB, free: 15.4 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.147e-05/0.004776, allocations: 75.69 kB / 398.4 MB, free: 15.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002957/0.005071, allocations: 334.9 kB / 398.7 MB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.524e-06/0.005074, allocations: 3.984 kB / 398.7 MB, free: 15 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.91e-07/0.005075, allocations: 0 / 398.7 MB, free: 15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.957e-06/0.005079, allocations: 0 / 398.7 MB, free: 15 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006155/0.005694, allocations: 496.5 kB / 399.2 MB, free: 14.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.005734, allocations: 12.03 kB / 399.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001724/0.005906, allocations: 42.73 kB / 399.3 MB, free: 14.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.78e-05/0.005954, allocations: 32.8 kB / 399.3 MB, free: 14.38 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.006172, allocations: 208.8 kB / 399.5 MB, free: 14.15 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.006185, allocations: 8.375 kB / 399.5 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.08e-05/0.006216, allocations: 24.33 kB / 399.5 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002872/0.006503, allocations: 289.1 kB / 399.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.006515, allocations: 192 / 399.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.006528, allocations: 384 / 399.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.006537, allocations: 8.125 kB / 399.8 MB, free: 13.79 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.006655, allocations: 67.95 kB / 399.9 MB, free: 13.72 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000618/0.007273, allocations: 455.5 kB / 400.3 MB, free: 13.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/0.007486, allocations: 138.6 kB / 400.5 MB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.172e-05/0.007577, allocations: 56.83 kB / 400.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.177e-05/0.007589, allocations: 0 / 400.5 MB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002156/0.007805, allocations: 143.3 kB / 400.7 MB, free: 12.88 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 1.092e-06/0.007806, allocations: 4 kB / 400.7 MB, free: 12.87 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003836/0.008189, allocations: 278 kB / 400.9 MB, free: 12.6 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.356e-05/0.008253, allocations: 162.2 kB / 401.1 MB, free: 12.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00017/0.008423, allocations: 261.9 kB / 401.3 MB, free: 12.14 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.008445, allocations: 41.64 kB / 401.4 MB, free: 12.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.492e-05/0.00853, allocations: 152.4 kB / 401.5 MB, free: 11.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.182e-05/0.008562, allocations: 55.55 kB / 401.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.606e-05/0.008618, allocations: 61.98 kB / 401.6 MB, free: 11.81 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.482e-05/0.008703, allocations: 346.7 kB / 402 MB, free: 11.46 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.293e-05/0.008776, allocations: 56.25 kB / 402 MB, free: 11.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00015/0.008926, allocations: 286 kB / 402.3 MB, free: 11.05 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002332/0.009159, allocations: 241.5 kB / 402.6 MB, free: 10.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.009162, allocations: 0 / 402.6 MB, free: 10.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0005652/0.009727, allocations: 265.1 kB / 402.8 MB, free: 10.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.009741, allocations: 8 kB / 402.8 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/0.00975, allocations: 11.92 kB / 402.8 MB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.009765, allocations: 4.469 kB / 402.8 MB, free: 10.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.009908, allocations: 55.92 kB / 402.9 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.009917, allocations: 7.984 kB / 402.9 MB, free: 10.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.945e-05/0.01002, allocations: 35.78 kB / 402.9 MB, free: 10.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.026e-05/0.01003, allocations: 8 kB / 402.9 MB, free: 10.37 MB / 378.7 MB Warning: Assuming fixed start value for the following 1 variables: complexPoles_dig.u_pre1:DISCRETE(fixed = true protected = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 16 (complexPoles_dig.y,$PRE.complexPoles_dig.y,$PRE.complexPoles_dig.u_pre1,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1,$PRE.complexPoles_dig.y_pre1,lLag_dig.y,$PRE.lLag_dig.y,fO_dig.y,$PRE.fO_dig.y,int_dig.y,$PRE.int_dig.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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.0001363/0.01016, allocations: 160.6 kB / 403.1 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.316e-05/0.01019, allocations: 27.81 kB / 403.1 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.911e-05/0.01023, allocations: 34.05 kB / 403.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.01023, allocations: 0 / 403.2 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.01023, allocations: 8 kB / 403.2 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.01024, allocations: 0 / 403.2 MB, free: 10.13 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004234/0.01066, allocations: 0.4935 MB / 403.7 MB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.01066, allocations: 0 / 403.7 MB, free: 9.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001138/0.01078, allocations: 35.92 kB / 403.7 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.01078, allocations: 0 / 403.7 MB, free: 9.555 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.01079, allocations: 7.984 kB / 403.7 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.01079, allocations: 0 / 403.7 MB, free: 9.547 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.0108, allocations: 11.94 kB / 403.7 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003532/0.01115, allocations: 391.4 kB / 404.1 MB, free: 9.137 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.307e-05/0.01117, allocations: 23.81 kB / 404.1 MB, free: 9.113 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.0112, allocations: 12.05 kB / 404.1 MB, free: 9.102 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.01128, allocations: 12 kB / 404.1 MB, free: 9.09 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.01132, allocations: 15.91 kB / 404.2 MB, free: 9.074 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.01134, allocations: 11.94 kB / 404.2 MB, free: 9.062 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001191/0.01145, allocations: 189.2 kB / 404.4 MB, free: 8.879 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01145, allocations: 0 / 404.4 MB, free: 8.879 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002478/0.0117, allocations: 83.73 kB / 404.4 MB, free: 8.797 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (int.y,fO.y,lLag.dy,complexPoles.y,complexPoles.dy) * Number of discrete variables: 10 ($whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,int_dig.y,fO_dig.y,lLag_dig.y,complexPoles_dig.y,complexPoles_dig.u_pre1,complexPoles_dig.y_pre1) * Number of discrete states: 10 (complexPoles_dig.u,complexPoles_dig.u_pre1,complexPoles_dig.y,complexPoles_dig.y_pre1,lLag_dig.u,lLag_dig.y,fO_dig.u,fO_dig.y,int_dig.u,int_dig.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.0006456/0.01235, allocations: 0.9871 MB / 405.4 MB, free: 7.789 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000251/0.0126, allocations: 159.8 kB / 405.6 MB, free: 7.633 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.0126, allocations: 0.9375 kB / 405.6 MB, free: 7.633 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.859e-05/0.01269, allocations: 68.59 kB / 405.6 MB, free: 7.566 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002448/0.01293, allocations: 70.56 kB / 405.7 MB, free: 7.508 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002357/0.01529, allocations: 2.879 MB / 408.6 MB, free: 4.445 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.356e-05/0.01539, allocations: 146.1 kB / 408.7 MB, free: 4.281 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 7.198e-05/0.01546, allocations: 30.31 kB / 408.8 MB, free: 4.254 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.577e-05/0.01553, allocations: 76.47 kB / 408.8 MB, free: 4.18 MB / 378.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01553, allocations: 4 kB / 408.8 MB, free: 4.176 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.03569, allocations: 6.605 MB / 415.5 MB, free: 13.71 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.067/7.103, allocations: 14.75 kB / 415.5 MB, free: 13.71 MB / 394.7 MB " [Timeout remaining time 653] (rm -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; mkfifo IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe ; head -c 1048576 < IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe >> ../files/IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.sim & python3 -m fmpy simulate --output-file IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.024 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.98886313661933] Failed to read output from testmodel.py, exit status != 0: 7.186090491712093 7.194622908 7.187926118 Calling exit ...