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.0008737/0.0008737, 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.001278/0.001278, allocations: 170.3 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.9187/0.9187, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.03871/0.03871, allocations: 8.605 MB / 267.8 MB, free: 5.137 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 2.605e-06/2.605e-06, allocations: 0 / 395.1 MB, free: 1.477 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.607e-05, allocations: 2.281 kB / 395.1 MB, free: 1.473 MB / 314.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.Basic): time 0.002743/0.002769, allocations: 1.805 MB / 396.9 MB, free: 15.66 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009039/0.003673, allocations: 0.5524 MB / 397.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.535e-05/0.003768, allocations: 4 kB / 397.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 4.883e-05/0.003817, allocations: 23.67 kB / 397.4 MB, free: 15.07 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001178/0.003935, allocations: 35.67 kB / 397.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005113/0.004446, allocations: 183.4 kB / 397.7 MB, free: 14.86 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.00466, allocations: 207.4 kB / 397.9 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001426/0.004803, allocations: 40.55 kB / 397.9 MB, free: 14.62 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.00491, allocations: 123.6 kB / 398 MB, free: 14.5 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.679e-05/0.005007, allocations: 75.69 kB / 398.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.817e-05/0.005035, allocations: 19.94 kB / 398.1 MB, free: 14.4 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.005219, allocations: 147.9 kB / 398.3 MB, free: 14.26 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.161e-05/0.00526, allocations: 51.75 kB / 398.3 MB, free: 14.21 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.673e-05/0.005317, allocations: 67.69 kB / 398.4 MB, free: 14.14 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000322/0.005639, allocations: 335 kB / 398.7 MB, free: 13.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.005641, allocations: 0 / 398.7 MB, free: 13.81 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.005642, allocations: 0 / 398.7 MB, free: 13.81 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.005647, allocations: 0 / 398.7 MB, free: 13.81 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006488/0.006296, allocations: 0.5042 MB / 399.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.006335, allocations: 8.031 kB / 399.2 MB, free: 13.27 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.006374, allocations: 46.73 kB / 399.3 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.006423, allocations: 28.8 kB / 399.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.006638, allocations: 204.8 kB / 399.5 MB, free: 12.96 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.006651, allocations: 12.38 kB / 399.5 MB, free: 12.95 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.012e-05/0.006681, allocations: 16.36 kB / 399.5 MB, free: 12.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.006945, allocations: 277.9 kB / 399.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.169e-05/0.006957, allocations: 4.188 kB / 399.8 MB, free: 12.61 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.006973, allocations: 8.359 kB / 399.8 MB, free: 12.6 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.006981, allocations: 8.125 kB / 399.8 MB, free: 12.59 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001291/0.00711, allocations: 67.84 kB / 399.9 MB, free: 12.53 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006315/0.007742, allocations: 459.5 kB / 400.3 MB, free: 12.04 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.007957, allocations: 134.5 kB / 400.5 MB, free: 11.89 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.398e-05/0.008041, allocations: 52.84 kB / 400.5 MB, free: 11.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.008053, allocations: 7.984 kB / 400.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/0.008264, allocations: 145.7 kB / 400.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.008266, allocations: 0 / 400.7 MB, free: 11.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=20): time 0.0003939/0.00866, allocations: 269.4 kB / 400.9 MB, free: 11.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.852e-05/0.008728, allocations: 174.1 kB / 401.1 MB, free: 11.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001736/0.008902, allocations: 253.9 kB / 401.3 MB, free: 10.95 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.008924, allocations: 41.64 kB / 401.4 MB, free: 10.9 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.528e-05/0.00901, allocations: 152.4 kB / 401.5 MB, free: 10.75 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.539e-05/0.009045, allocations: 63.47 kB / 401.6 MB, free: 10.69 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.657e-05/0.009102, allocations: 53.98 kB / 401.6 MB, free: 10.62 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.497e-05/0.009187, allocations: 342.8 kB / 402 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.462e-05/0.009261, allocations: 52.25 kB / 402 MB, free: 10.23 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001596/0.009421, allocations: 297.8 kB / 402.3 MB, free: 9.855 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002359/0.009657, allocations: 249.1 kB / 402.6 MB, free: 9.566 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/0.009661, allocations: 4 kB / 402.6 MB, free: 9.562 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002742/0.009935, allocations: 269.3 kB / 402.8 MB, free: 9.293 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.009953, allocations: 4 kB / 402.8 MB, free: 9.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.00996, allocations: 4 kB / 402.8 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.009974, allocations: 8 kB / 402.8 MB, free: 9.277 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.01012, allocations: 55.91 kB / 402.9 MB, free: 9.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.01013, allocations: 11.94 kB / 402.9 MB, free: 9.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.587e-05/0.01023, allocations: 31.77 kB / 402.9 MB, free: 9.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.01024, allocations: 12.25 kB / 403 MB, free: 9.168 MB / 330.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.0001325/0.01037, allocations: 160.5 kB / 403.1 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.0104, allocations: 23.86 kB / 403.1 MB, free: 8.98 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.032e-05/0.01044, allocations: 30.11 kB / 403.2 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.01044, allocations: 0 / 403.2 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.01044, allocations: 0 / 403.2 MB, free: 8.949 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/0.01045, allocations: 3.984 kB / 403.2 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004379/0.01089, allocations: 0.5012 MB / 403.7 MB, free: 8.395 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.01089, allocations: 4 kB / 403.7 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001283/0.01102, allocations: 35.97 kB / 403.7 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.01102, allocations: 0 / 403.7 MB, free: 8.355 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.01104, allocations: 8 kB / 403.7 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.01104, allocations: 0 / 403.7 MB, free: 8.348 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.01105, allocations: 7.922 kB / 403.7 MB, free: 8.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003789/0.01143, allocations: 385.6 kB / 404.1 MB, free: 7.949 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.505e-05/0.01145, allocations: 23.84 kB / 404.1 MB, free: 7.926 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.894e-05/0.01148, allocations: 12.06 kB / 404.1 MB, free: 7.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.964e-05/0.01156, allocations: 11.98 kB / 404.1 MB, free: 7.902 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.01161, allocations: 23.88 kB / 404.2 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.01162, allocations: 11.92 kB / 404.2 MB, free: 7.867 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.01174, allocations: 185.2 kB / 404.4 MB, free: 7.688 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01174, allocations: 0 / 404.4 MB, free: 7.688 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002726/0.01201, allocations: 83.8 kB / 404.4 MB, free: 7.605 MB / 330.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.0006518/0.01266, allocations: 0.9843 MB / 405.4 MB, free: 6.598 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002546/0.01292, allocations: 164.7 kB / 405.6 MB, free: 6.438 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.01292, allocations: 3.938 kB / 405.6 MB, free: 6.434 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.073e-05/0.01301, allocations: 70.48 kB / 405.7 MB, free: 6.367 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002459/0.01325, allocations: 51.31 kB / 405.7 MB, free: 6.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002691/0.01595, allocations: 2.888 MB / 408.6 MB, free: 3.25 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.714e-05/0.01603, allocations: 142 kB / 408.7 MB, free: 3.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 7.792e-05/0.01611, allocations: 34.31 kB / 408.8 MB, free: 3.059 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.129e-05/0.01619, allocations: 80.47 kB / 408.9 MB, free: 2.98 MB / 330.7 MB Notification: Performance of SimCode: time 5.91e-07/0.01619, allocations: 0 / 408.9 MB, free: 2.98 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1515/0.1677, allocations: 6.583 MB / 415.4 MB, free: 28.09 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.999/7.167, allocations: 2.156 kB / 415.4 MB, free: 28.09 MB / 330.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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_Basic.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.Basic.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.91798585280776] Failed to read output from testmodel.py, exit status != 0: 7.252450929023325 7.264036263 7.256031675 Calling exit ...