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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 107.2 kB / 17.12 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 196.2 kB / 20.08 MB, free: 3.074 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo): time 0.06302/0.06302, allocations: 11.34 MB / 314.7 MB, free: 0.8281 MB / 238.1 MB " [Timeout remaining time 180] Using package IndustrialControlSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IndustrialControlSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") translateModel(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002281/0.002281, allocations: 67.89 kB / 438.5 MB, free: 7.738 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3117, allocations: 54.82 MB / 493.3 MB, free: 24.01 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.002885/0.3146, allocations: 1.682 MB / 495 MB, free: 22.83 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007401/0.3153, allocations: 374.3 kB / 495.4 MB, free: 22.57 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.414e-05/0.3154, allocations: 1.375 kB / 495.4 MB, free: 22.57 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.249e-05/0.3154, allocations: 16.31 kB / 495.4 MB, free: 22.56 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.3155, allocations: 26.12 kB / 495.4 MB, free: 22.54 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.3159, allocations: 114.4 kB / 495.5 MB, free: 22.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001909/0.3161, allocations: 166.3 kB / 495.7 MB, free: 22.41 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.3162, allocations: 16.75 kB / 495.7 MB, free: 22.4 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.468e-05/0.3162, allocations: 66.56 kB / 495.8 MB, free: 22.37 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001029/0.3164, allocations: 85.66 kB / 495.9 MB, free: 22.32 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.597e-05/0.3164, allocations: 13.75 kB / 495.9 MB, free: 22.32 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.3165, allocations: 78.05 kB / 495.9 MB, free: 22.3 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.202e-05/0.3165, allocations: 55.69 kB / 496 MB, free: 22.27 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 6.074e-05/0.3166, allocations: 73.42 kB / 496.1 MB, free: 22.21 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002645/0.3169, allocations: 203.2 kB / 496.3 MB, free: 22.14 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3169, allocations: 0 / 496.3 MB, free: 22.14 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.3169, allocations: 0 / 496.3 MB, free: 22.14 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.049e-06/0.3169, allocations: 1.375 kB / 496.3 MB, free: 22.14 MB / 366.1 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.0006468/0.3175, allocations: 492.9 kB / 496.8 MB, free: 21.69 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.137e-05/0.3176, allocations: 9.406 kB / 496.8 MB, free: 21.69 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.185e-05/0.3176, allocations: 23.12 kB / 496.8 MB, free: 21.68 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.3178, allocations: 238.3 kB / 497 MB, free: 21.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.3178, allocations: 5.391 kB / 497 MB, free: 21.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.3179, allocations: 15.56 kB / 497 MB, free: 21.45 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002995/0.3182, allocations: 169.6 kB / 497.2 MB, free: 21.34 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3182, allocations: 0 / 497.2 MB, free: 21.34 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.113e-05/0.3182, allocations: 6.469 kB / 497.2 MB, free: 21.34 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3182, allocations: 2.5 kB / 497.2 MB, free: 21.34 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001805/0.3184, allocations: 65.2 kB / 497.3 MB, free: 21.32 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007253/0.3191, allocations: 458.9 kB / 497.7 MB, free: 20.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002464/0.3194, allocations: 136.6 kB / 497.9 MB, free: 20.9 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.3195, allocations: 66.23 kB / 497.9 MB, free: 20.88 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.3195, allocations: 6.219 kB / 497.9 MB, free: 20.87 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000316/0.3198, allocations: 140.8 kB / 498.1 MB, free: 20.79 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.613e-06/0.3198, allocations: 0 / 498.1 MB, free: 20.79 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005463/0.3204, allocations: 266.5 kB / 498.3 MB, free: 20.69 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.609e-05/0.3204, allocations: 162.1 kB / 498.5 MB, free: 20.5 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001458/0.3206, allocations: 208.4 kB / 498.7 MB, free: 20.36 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.203e-05/0.3206, allocations: 35.09 kB / 498.7 MB, free: 20.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.688e-05/0.3207, allocations: 124 kB / 498.8 MB, free: 20.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.3207, allocations: 57.44 kB / 498.9 MB, free: 20.16 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.76e-05/0.3208, allocations: 60.06 kB / 499 MB, free: 20.12 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.221e-05/0.3208, allocations: 334.8 kB / 499.3 MB, free: 19.8 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.3209, allocations: 47.47 kB / 499.3 MB, free: 19.79 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/0.3211, allocations: 174.6 kB / 499.5 MB, free: 19.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002775/0.3213, allocations: 231.5 kB / 499.7 MB, free: 19.44 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3213, allocations: 0 / 499.7 MB, free: 19.44 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0003563/0.3217, allocations: 242.8 kB / 500 MB, free: 19.33 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.3217, allocations: 9.656 kB / 500 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3217, allocations: 4.375 kB / 500 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.015e-05/0.3217, allocations: 4.125 kB / 500 MB, free: 19.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002195/0.322, allocations: 51.17 kB / 0.4883 GB, free: 19.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.322, allocations: 8.656 kB / 0.4883 GB, free: 19.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/0.3221, allocations: 29.72 kB / 0.4883 GB, free: 19.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.518e-05/0.3221, allocations: 13.5 kB / 0.4884 GB, free: 19.29 MB / 366.1 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.0001408/0.3222, allocations: 155.6 kB / 0.4885 GB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.273e-05/0.3223, allocations: 20.48 kB / 0.4885 GB, free: 19.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.553e-05/0.3223, allocations: 22.2 kB / 0.4886 GB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.416e-06/0.3223, allocations: 2.875 kB / 0.4886 GB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.3223, allocations: 0 / 0.4886 GB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.227e-06/0.3223, allocations: 1.469 kB / 0.4886 GB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005231/0.3229, allocations: 0.5338 MB / 0.4891 GB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.3229, allocations: 0 / 0.4891 GB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.323, allocations: 26.02 kB / 0.4891 GB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.323, allocations: 9.172 kB / 0.4891 GB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.775e-05/0.323, allocations: 3.719 kB / 0.4891 GB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.323, allocations: 0 / 0.4891 GB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.323, allocations: 1.438 kB / 0.4891 GB, free: 18.64 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005069/0.3235, allocations: 374.3 kB / 0.4895 GB, free: 18.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.34e-05/0.3236, allocations: 101.9 kB / 0.4896 GB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.3236, allocations: 13.66 kB / 0.4896 GB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001176/0.3237, allocations: 12.14 kB / 0.4896 GB, free: 18.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.078e-05/0.3238, allocations: 13.27 kB / 0.4896 GB, free: 18.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.612e-05/0.3238, allocations: 6.719 kB / 0.4896 GB, free: 18.26 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.53e-05/0.3239, allocations: 144.4 kB / 0.4898 GB, free: 18.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3239, allocations: 3.938 kB / 0.4898 GB, free: 18.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003435/0.3242, allocations: 58.14 kB / 0.4898 GB, free: 18.13 MB / 366.1 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.0001553/0.3244, allocations: 131 kB / 0.4899 GB, free: 18.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003229/0.3247, allocations: 153.6 kB / 0.4901 GB, free: 17.97 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.3247, allocations: 1.188 kB / 0.4901 GB, free: 17.97 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001301/0.3249, allocations: 71.55 kB / 0.4902 GB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003245/0.3252, allocations: 45.09 kB / 0.4902 GB, free: 17.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000571/0.3257, allocations: 375.1 kB / 0.4906 GB, free: 17.63 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001307/0.3259, allocations: 0.7177 MB / 0.4913 GB, free: 16.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.684e-05/0.3259, allocations: 29.48 kB / 0.4913 GB, free: 16.9 MB / 366.1 MB Notification: Performance of SimCode: time 3e-07/0.3259, allocations: 0 / 0.4913 GB, free: 16.9 MB / 366.1 MB Notification: Performance of Templates: time 0.00442/0.3303, allocations: 2.506 MB / 0.4937 GB, free: 15.61 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.makefile [Timeout 660] (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 & ./IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex -abortSlowSimulation -alarm=480 -lv LOG_STATS > IndustrialControlSystems_IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.016753516043536] Failed to read output from testmodel.py, exit status != 0: 0.3383786919293925 0.348011234 0.029051659 Calling exit ...