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.0008282/0.0008282, 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.000839/0.000839, 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.8889/0.8889, 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.03505/0.03505, allocations: 8.613 MB / 267.8 MB, free: 5.129 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.353e-06/1.353e-06, allocations: 0 / 395.1 MB, free: 2.684 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.485e-05/1.62e-05, allocations: 2.281 kB / 395.1 MB, free: 2.68 MB / 362.7 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL): time 0.002106/0.002123, allocations: 1.611 MB / 396.7 MB, free: 1.059 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004789/0.002602, allocations: 295.5 kB / 397 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.795e-05/0.002649, allocations: 0 / 397 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 2.904e-05/0.002679, allocations: 11.81 kB / 397 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 8.796e-05/0.002766, allocations: 31.73 kB / 397 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002966/0.003063, allocations: 91.7 kB / 397.1 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.003206, allocations: 127.7 kB / 397.2 MB, free: 0.5117 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.003307, allocations: 17.8 kB / 397.2 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.247e-05/0.003379, allocations: 83.67 kB / 397.3 MB, free: 424 kB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.047e-05/0.00345, allocations: 39.83 kB / 397.4 MB, free: 384 kB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.085e-05/0.00347, allocations: 12 kB / 397.4 MB, free: 372 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.19e-05/0.003532, allocations: 43.95 kB / 397.4 MB, free: 328 kB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 2.66e-05/0.003559, allocations: 31.84 kB / 397.4 MB, free: 296 kB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.003605, allocations: 43.84 kB / 397.5 MB, free: 252 kB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.003772, allocations: 159.5 kB / 397.6 MB, free: 92 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.814e-06/0.003774, allocations: 0 / 397.6 MB, free: 92 kB / 362.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.003775, allocations: 0 / 397.6 MB, free: 92 kB / 362.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.003778, allocations: 0 / 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.0004727/0.004251, allocations: 385.5 kB / 398 MB, free: 15.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.004288, allocations: 8.031 kB / 398 MB, free: 15.67 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.374e-05/0.004322, allocations: 42.73 kB / 398.1 MB, free: 15.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.004354, allocations: 16.84 kB / 398.1 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.004538, allocations: 173.4 kB / 398.3 MB, free: 15.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.004548, allocations: 8.375 kB / 398.3 MB, free: 15.4 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.004568, allocations: 8.375 kB / 398.3 MB, free: 15.39 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001954/0.004763, allocations: 245.2 kB / 398.5 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.004769, allocations: 192 / 398.5 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.00478, allocations: 4.375 kB / 398.5 MB, free: 15.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.004786, allocations: 8.125 kB / 398.5 MB, free: 15.1 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.894e-05/0.004875, allocations: 49.38 kB / 398.6 MB, free: 15.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.005297, allocations: 355.7 kB / 398.9 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.005519, allocations: 106.6 kB / 399 MB, free: 14.55 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.038e-05/0.00559, allocations: 60.77 kB / 399.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.156e-05/0.005601, allocations: 4 kB / 399.1 MB, free: 14.48 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001551/0.005757, allocations: 115.3 kB / 399.2 MB, free: 14.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.005758, allocations: 0 / 399.2 MB, free: 14.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=14): time 0.0003147/0.006072, allocations: 204.4 kB / 399.4 MB, free: 14.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.619e-05/0.006138, allocations: 166.2 kB / 399.6 MB, free: 13.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001288/0.006267, allocations: 195.7 kB / 399.7 MB, free: 13.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.006285, allocations: 29.7 kB / 399.8 MB, free: 13.71 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.006351, allocations: 120.2 kB / 399.9 MB, free: 13.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.749e-05/0.006378, allocations: 47.62 kB / 399.9 MB, free: 13.55 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.006423, allocations: 41.7 kB / 400 MB, free: 13.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.192e-05/0.006515, allocations: 330.8 kB / 400.3 MB, free: 13.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.084e-05/0.006566, allocations: 31.98 kB / 400.3 MB, free: 13.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001206/0.006687, allocations: 216.2 kB / 400.5 MB, free: 12.87 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000328/0.007015, allocations: 135.6 kB / 400.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.007017, allocations: 0 / 400.7 MB, free: 12.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001721/0.007189, allocations: 173.4 kB / 400.8 MB, free: 12.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.007202, allocations: 8 kB / 400.9 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.007207, allocations: 0 / 400.9 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.00722, allocations: 4 kB / 400.9 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.597e-05/0.007316, allocations: 31.98 kB / 400.9 MB, free: 12.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.007323, allocations: 3.938 kB / 400.9 MB, free: 12.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.221e-05/0.007405, allocations: 19.88 kB / 400.9 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.007414, allocations: 12 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 8.632e-05/0.0075, allocations: 129.8 kB / 401.1 MB, free: 12.32 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.684e-05/0.007517, allocations: 19.91 kB / 401.1 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.007551, allocations: 21.45 kB / 401.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.007553, allocations: 4 kB / 401.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.007558, allocations: 0 / 401.1 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.007564, allocations: 3.938 kB / 401.1 MB, free: 12.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.007929, allocations: 413.5 kB / 401.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.00793, allocations: 0 / 401.5 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.233e-05/0.007992, allocations: 24.03 kB / 401.5 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.007996, allocations: 7.984 kB / 401.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.008005, allocations: 4 kB / 401.5 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.008007, allocations: 3.938 kB / 401.5 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.008008, allocations: 4 kB / 401.5 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002873/0.008296, allocations: 315.3 kB / 401.9 MB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/0.008313, allocations: 11.94 kB / 401.9 MB, free: 11.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.008335, allocations: 11.98 kB / 401.9 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.122e-05/0.008417, allocations: 11.94 kB / 401.9 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.209e-05/0.008449, allocations: 7.984 kB / 401.9 MB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.008458, allocations: 7.984 kB / 401.9 MB, free: 11.4 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.464e-05/0.008532, allocations: 147.3 kB / 402.1 MB, free: 11.26 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008532, allocations: 0 / 402.1 MB, free: 11.26 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0001947/0.008727, 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.0004878/0.009215, allocations: 0.8715 MB / 403 MB, free: 10.33 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001996/0.009414, allocations: 108.4 kB / 403.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.009416, allocations: 448 / 403.1 MB, free: 10.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.738e-05/0.009483, 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.0002103/0.009694, allocations: 40.41 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.001907/0.0116, allocations: 2.059 MB / 405.2 MB, free: 7.945 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.763e-05/0.01166, allocations: 106.2 kB / 405.3 MB, free: 7.82 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.719e-05/0.01171, allocations: 21.47 kB / 405.3 MB, free: 7.801 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.944e-05/0.01176, allocations: 52.48 kB / 405.4 MB, free: 7.75 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.01177, allocations: 0 / 405.4 MB, free: 7.75 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01685/0.02862, allocations: 4.511 MB / 409.9 MB, free: 3.402 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.855/6.884, allocations: 19.14 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL_fmu --startTime=0 --stopTime=30 --stepSize=0.012 --timeout=50 --tolerance=1e-06 IndustrialControlSystems_IndustrialControlSystems_LinearSystems_Examples_BasicComparisonLL.fmu > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonLL.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.620421837083995] Failed to read output from testmodel.py, exit status != 0: 6.967686221003532 6.978946622 6.97336014 Calling exit ...