Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.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.001616/0.001616, allocations: 110 kB / 18.93 MB, free: 2.945 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.002252/0.002252, allocations: 192.2 kB / 22.23 MB, free: 5.16 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.605/1.605, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.208/1.208, allocations: 177.9 MB / 484.2 MB, free: 5.344 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0021/0.0021, allocations: 64.61 kB / 0.674 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7705/0.7726, allocations: 95.16 MB / 0.7669 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003675/0.7763, allocations: 1.565 MB / 0.7684 GB, free: 7.195 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001252/0.7776, allocations: 0.5816 MB / 0.769 GB, free: 6.797 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.382e-05/0.7776, allocations: 5.188 kB / 0.769 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.7778, allocations: 7.188 kB / 0.769 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 5.926e-05/0.7778, allocations: 26.66 kB / 0.769 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005/0.7783, allocations: 89.09 kB / 0.7691 GB, free: 6.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000191/0.7785, allocations: 98.38 kB / 0.7692 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001268/0.7787, allocations: 17.23 kB / 0.7692 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001443/0.7788, allocations: 53.05 kB / 0.7693 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.7789, allocations: 50.8 kB / 0.7693 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.756e-05/0.7789, allocations: 6.188 kB / 0.7693 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001799/0.7791, allocations: 92.48 kB / 0.7694 GB, free: 6.598 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 7.32e-05/0.7792, allocations: 21.16 kB / 0.7694 GB, free: 6.586 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 8.216e-05/0.7793, allocations: 41.16 kB / 0.7695 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002976/0.7796, allocations: 142.6 kB / 0.7696 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.7796, allocations: 1.344 kB / 0.7696 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.943e-06/0.7796, allocations: 0 / 0.7696 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.7796, allocations: 0 / 0.7696 GB, free: 6.512 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000909/0.7805, allocations: 380.5 kB / 0.77 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.038e-05/0.7806, allocations: 9.5 kB / 0.77 GB, free: 6.176 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.583e-05/0.7806, allocations: 10.42 kB / 0.77 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.7808, allocations: 135.2 kB / 0.7701 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.7809, allocations: 4.125 kB / 0.7701 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.7809, allocations: 3.469 kB / 0.7701 GB, free: 6.027 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003669/0.7812, allocations: 110.7 kB / 0.7702 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/0.7813, allocations: 0.75 kB / 0.7702 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.7813, allocations: 0.6562 kB / 0.7702 GB, free: 5.973 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.783e-05/0.7813, allocations: 9.359 kB / 0.7702 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003603/0.7817, allocations: 89.09 kB / 0.7703 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007076/0.7824, allocations: 327.5 kB / 0.7706 GB, free: 5.676 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003602/0.7827, allocations: 90.31 kB / 0.7707 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001923/0.7829, allocations: 55.53 kB / 0.7708 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.7829, allocations: 3.938 kB / 0.7708 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004163/0.7834, allocations: 118.6 kB / 0.7709 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.372e-06/0.7834, allocations: 0 / 0.7709 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0007973/0.7842, allocations: 207.3 kB / 0.7711 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.708e-05/0.7842, allocations: 57 kB / 0.7711 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.7843, allocations: 139 kB / 0.7713 GB, free: 5.305 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.7844, allocations: 35.3 kB / 0.7713 GB, free: 5.266 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.928e-05/0.7844, allocations: 94.81 kB / 0.7714 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.775e-05/0.7844, allocations: 36.52 kB / 0.7714 GB, free: 5.148 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.7845, allocations: 23.5 kB / 0.7715 GB, free: 5.129 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.7846, allocations: 325.1 kB / 0.7718 GB, free: 4.809 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.7848, allocations: 62.16 kB / 0.7718 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.785, allocations: 55.78 kB / 0.7719 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.7854, allocations: 142.7 kB / 0.772 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.7854, allocations: 1.188 kB / 0.772 GB, free: 4.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005163/0.7859, allocations: 210.9 kB / 0.7722 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.786, allocations: 38.39 kB / 0.7723 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.786, allocations: 0 / 0.7723 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.786, allocations: 0.9062 kB / 0.7723 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001557/0.7861, allocations: 18.47 kB / 0.7723 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.7862, allocations: 1.562 kB / 0.7723 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.7863, allocations: 19 kB / 0.7723 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.44e-05/0.7863, allocations: 2.469 kB / 0.7723 GB, free: 4.57 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 1 * Algorithm blocks: 1 * 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.0001009/0.7864, allocations: 129.1 kB / 0.7724 GB, free: 4.441 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.285e-05/0.7865, allocations: 8.641 kB / 0.7724 GB, free: 4.438 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.146e-05/0.7865, allocations: 12.94 kB / 0.7724 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.7865, allocations: 5.266 kB / 0.7724 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.7865, allocations: 0 / 0.7724 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.7865, allocations: 1.188 kB / 0.7724 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.7867, allocations: 176.6 kB / 0.7726 GB, free: 4.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7867, allocations: 4.875 kB / 0.7726 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001228/0.7868, allocations: 17.88 kB / 0.7726 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.7868, allocations: 1.344 kB / 0.7726 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.7868, allocations: 5.5 kB / 0.7726 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.7868, allocations: 3.375 kB / 0.7726 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.7868, allocations: 0 / 0.7726 GB, free: 4.234 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004792/0.7873, allocations: 184 kB / 0.7728 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.805e-05/0.7873, allocations: 6.641 kB / 0.7728 GB, free: 4.133 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.922e-05/0.7874, allocations: 7.453 kB / 0.7728 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.7875, allocations: 16.67 kB / 0.7729 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.321e-05/0.7876, allocations: 10.47 kB / 0.7729 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.7876, allocations: 7.875 kB / 0.7729 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.269e-05/0.7877, allocations: 106.7 kB / 0.773 GB, free: 4.039 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.7877, allocations: 4 kB / 0.773 GB, free: 4.035 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003186/0.788, allocations: 40.44 kB / 0.773 GB, free: 4.027 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002018/0.7882, allocations: 113.3 kB / 0.7731 GB, free: 3.938 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005893/0.7888, allocations: 180.9 kB / 0.7733 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7888, allocations: 1.062 kB / 0.7733 GB, free: 3.848 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002424/0.789, allocations: 63.11 kB / 0.7734 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002718/0.7893, allocations: 13.73 kB / 0.7734 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007135/0.79, allocations: 233.5 kB / 0.7736 GB, free: 3.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002322/0.7902, allocations: 0.7029 MB / 0.7743 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 7.96e-05/0.7903, allocations: 19.41 kB / 0.7743 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.652e-05/0.7904, allocations: 14.12 kB / 0.7743 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of SimCode: time 2.7e-07/0.7904, allocations: 0 / 0.7743 GB, free: 2.949 MB / 0.5762 GB Notification: Performance of Templates: time 0.00682/0.7972, allocations: 1.468 MB / 0.7757 GB, free: 2.82 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.512497767806053] Failed to read output from testmodel.py, exit status != 0: 0.8072569742798805 0.823707648 0.039984961 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7ff8980c57b0>