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.001681/0.001681, allocations: 113.9 kB / 17.13 MB, free: 5.938 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.00191/0.00191, allocations: 197.2 kB / 20.08 MB, free: 3 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.487/1.487, allocations: 225.6 MB / 248.5 MB, free: 3.605 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.06725/0.06725, allocations: 11.33 MB / 314.7 MB, free: 0.8242 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.002028/0.002028, allocations: 63.91 kB / 438.5 MB, free: 7.727 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2273/0.2293, allocations: 54.83 MB / 493.3 MB, free: 23.97 MB / 366.1 MB Notification: Performance of NFInst.instantiate(IndustrialControlSystems.LinearSystems.Examples.BasicComparisonComplex): time 0.002483/0.2318, allocations: 1.683 MB / 495 MB, free: 22.79 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006636/0.2325, allocations: 367.8 kB / 495.4 MB, free: 22.54 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001109/0.2326, allocations: 5.156 kB / 495.4 MB, free: 22.54 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.2326, allocations: 12.47 kB / 495.4 MB, free: 22.52 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001014/0.2327, allocations: 30.94 kB / 495.4 MB, free: 22.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003321/0.2331, allocations: 114 kB / 495.5 MB, free: 22.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.2332, allocations: 158 kB / 495.7 MB, free: 22.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001351/0.2334, allocations: 20.42 kB / 495.7 MB, free: 22.37 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.2335, allocations: 70.25 kB / 495.8 MB, free: 22.33 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.374e-05/0.2336, allocations: 79.5 kB / 495.9 MB, free: 22.29 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.653e-05/0.2336, allocations: 15.12 kB / 495.9 MB, free: 22.29 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001184/0.2337, allocations: 78.42 kB / 495.9 MB, free: 22.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 3.704e-05/0.2338, allocations: 46.56 kB / 496 MB, free: 22.24 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.679e-05/0.2338, allocations: 80.59 kB / 496.1 MB, free: 22.18 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002391/0.2341, allocations: 203 kB / 496.3 MB, free: 22.11 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.2341, allocations: 2.078 kB / 496.3 MB, free: 22.11 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.2341, allocations: 0 / 496.3 MB, free: 22.11 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.49e-06/0.2341, allocations: 3.938 kB / 496.3 MB, free: 22.1 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.0006509/0.2347, allocations: 489.8 kB / 496.8 MB, free: 21.66 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.9e-05/0.2347, allocations: 8.25 kB / 496.8 MB, free: 21.66 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.291e-05/0.2348, allocations: 25.03 kB / 496.8 MB, free: 21.64 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.235, allocations: 236.8 kB / 497 MB, free: 21.41 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.235, allocations: 10.06 kB / 497 MB, free: 21.41 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.674e-05/0.2351, allocations: 14.38 kB / 497 MB, free: 21.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002955/0.2354, allocations: 169.7 kB / 497.2 MB, free: 21.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/0.2354, allocations: 1.219 kB / 497.2 MB, free: 21.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.892e-05/0.2354, allocations: 10.36 kB / 497.2 MB, free: 21.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2354, allocations: 1.531 kB / 497.2 MB, free: 21.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001547/0.2356, allocations: 61.36 kB / 497.3 MB, free: 21.28 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007372/0.2363, allocations: 459.7 kB / 497.7 MB, free: 20.94 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002163/0.2365, allocations: 131.3 kB / 497.9 MB, free: 20.87 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.2366, allocations: 67.25 kB / 497.9 MB, free: 20.84 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.868e-06/0.2366, allocations: 1.75 kB / 497.9 MB, free: 20.84 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002915/0.2369, allocations: 147.2 kB / 498.1 MB, free: 20.76 MB / 366.1 MB Notification: Performance of pre-optimization done (n=20): time 1.643e-06/0.2369, allocations: 0 / 498.1 MB, free: 20.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=20): time 0.0005047/0.2374, allocations: 259.1 kB / 498.3 MB, free: 20.66 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.2375, allocations: 171.2 kB / 498.5 MB, free: 20.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.2377, allocations: 204.8 kB / 498.7 MB, free: 20.32 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.2377, allocations: 38.78 kB / 498.7 MB, free: 20.28 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.46e-05/0.2377, allocations: 120.9 kB / 498.8 MB, free: 20.17 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.2378, allocations: 57.44 kB / 498.9 MB, free: 20.13 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.405e-05/0.2379, allocations: 63.55 kB / 499 MB, free: 20.09 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 4.763e-05/0.2379, allocations: 330 kB / 499.3 MB, free: 19.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.238, allocations: 50.84 kB / 499.3 MB, free: 19.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001377/0.2382, allocations: 167.9 kB / 499.5 MB, free: 19.58 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002652/0.2384, allocations: 228.1 kB / 499.7 MB, free: 19.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.2384, allocations: 1.031 kB / 499.7 MB, free: 19.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0004126/0.2388, allocations: 255.4 kB / 500 MB, free: 19.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.2389, allocations: 6.656 kB / 500 MB, free: 19.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2389, allocations: 3.688 kB / 500 MB, free: 19.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.2389, allocations: 3.828 kB / 500 MB, free: 19.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.2391, allocations: 54.86 kB / 0.4883 GB, free: 19.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.2391, allocations: 5.922 kB / 0.4883 GB, free: 19.27 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001144/0.2392, allocations: 25.53 kB / 0.4883 GB, free: 19.26 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.56e-05/0.2392, allocations: 15.09 kB / 0.4884 GB, free: 19.25 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.0001664/0.2394, allocations: 154 kB / 0.4885 GB, free: 19.11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.235e-05/0.2394, allocations: 20.67 kB / 0.4885 GB, free: 19.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.2395, allocations: 24.92 kB / 0.4886 GB, free: 19.08 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.2395, allocations: 2.656 kB / 0.4886 GB, free: 19.08 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.2395, allocations: 1.156 kB / 0.4886 GB, free: 19.08 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.2395, allocations: 1.031 kB / 0.4886 GB, free: 19.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005289/0.24, allocations: 0.5306 MB / 0.4891 GB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.24, allocations: 4 kB / 0.4891 GB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.2402, allocations: 26.48 kB / 0.4891 GB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.2402, allocations: 0 / 0.4891 GB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.2402, allocations: 7.422 kB / 0.4891 GB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.2402, allocations: 0.875 kB / 0.4891 GB, free: 18.66 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.2402, allocations: 5.188 kB / 0.4891 GB, free: 18.65 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.2407, allocations: 379.5 kB / 0.4895 GB, free: 18.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.985e-05/0.2407, allocations: 94.34 kB / 0.4896 GB, free: 18.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.059e-05/0.2408, allocations: 17.36 kB / 0.4896 GB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001175/0.2409, allocations: 3.562 kB / 0.4896 GB, free: 18.29 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.2409, allocations: 19.08 kB / 0.4896 GB, free: 18.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/0.2409, allocations: 9.391 kB / 0.4896 GB, free: 18.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001048/0.241, allocations: 143.8 kB / 0.4898 GB, free: 18.17 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.241, allocations: 1.25 kB / 0.4898 GB, free: 18.17 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003331/0.2414, allocations: 48.94 kB / 0.4898 GB, free: 18.16 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.0001335/0.2415, allocations: 147.8 kB / 0.4899 GB, free: 18.04 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003063/0.2418, allocations: 149.6 kB / 0.4901 GB, free: 17.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.2418, allocations: 0 / 0.4901 GB, free: 17.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.242, allocations: 71.05 kB / 0.4902 GB, free: 17.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.2423, allocations: 37.61 kB / 0.4902 GB, free: 17.94 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/0.2429, allocations: 374.3 kB / 0.4905 GB, free: 17.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001146/0.243, allocations: 0.7269 MB / 0.4913 GB, free: 16.93 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.506e-05/0.243, allocations: 20.53 kB / 0.4913 GB, free: 16.93 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.2431, allocations: 3.938 kB / 0.4913 GB, free: 16.92 MB / 366.1 MB Notification: Performance of Templates: time 0.004307/0.2474, allocations: 2.5 MB / 0.4937 GB, free: 15.63 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: 6.842966775991954] Failed to read output from testmodel.py, exit status != 0: 0.25509155698819086 0.26468115699999994 0.02849273499999994 Calling exit ...