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.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.0007059/0.0007059, allocations: 96.36 kB / 19.7 MB, free: 452 kB / 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.0007111/0.0007111, allocations: 207.2 kB / 22.99 MB, free: 2.984 MB / 13.93 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.8234/0.8234, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7207/0.7207, allocations: 203.8 MB / 0.5049 GB, free: 10.47 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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: 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008815/0.0008815, allocations: 62.97 kB / 0.7193 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4221, allocations: 102 MB / 0.819 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.001805/0.4239, allocations: 1.547 MB / 0.8205 GB, free: 288 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000852/0.4247, allocations: 0.615 MB / 0.8211 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.814e-05/0.4248, allocations: 3.938 kB / 0.8211 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.4249, allocations: 6.094 kB / 0.8211 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.199e-05/0.4249, allocations: 17.77 kB / 0.8211 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004135/0.4254, allocations: 113.8 kB / 0.8212 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.4255, allocations: 92.03 kB / 0.8213 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.4256, allocations: 16.11 kB / 0.8213 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001517/0.4258, allocations: 64.7 kB / 0.8214 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.649e-05/0.4258, allocations: 43.56 kB / 0.8214 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.847e-05/0.4259, allocations: 5.781 kB / 0.8214 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001262/0.426, allocations: 88.48 kB / 0.8215 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.426, allocations: 19.91 kB / 0.8215 GB, free: 15.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.2e-05/0.4261, allocations: 40.89 kB / 0.8216 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002088/0.4263, allocations: 150.8 kB / 0.8217 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.4263, allocations: 0 / 0.8217 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4263, allocations: 0 / 0.8217 GB, free: 15.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.4263, allocations: 0 / 0.8217 GB, free: 15.6 MB / 0.6198 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.0005984/0.4269, allocations: 393 kB / 0.8221 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.4269, allocations: 8.062 kB / 0.8221 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.4271, allocations: 35.7 kB / 0.8221 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001979/0.4273, allocations: 139 kB / 0.8223 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.4273, allocations: 9.812 kB / 0.8223 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.4273, allocations: 6.25 kB / 0.8223 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.4275, allocations: 110.7 kB / 0.8224 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.086e-06/0.4276, allocations: 0 / 0.8224 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.4276, allocations: 8 kB / 0.8224 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.758e-05/0.4276, allocations: 3.062 kB / 0.8224 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000165/0.4277, allocations: 83.16 kB / 0.8225 GB, free: 15.02 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004433/0.4282, allocations: 287.7 kB / 0.8228 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.4284, allocations: 93.77 kB / 0.8228 GB, free: 14.74 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.383e-05/0.4285, allocations: 55.11 kB / 0.8229 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.367e-05/0.4285, allocations: 1.594 kB / 0.8229 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.4287, allocations: 110.2 kB / 0.823 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 1.754e-06/0.4287, allocations: 7.938 kB / 0.823 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0004226/0.4291, allocations: 201.1 kB / 0.8232 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.4291, allocations: 53.45 kB / 0.8233 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001017/0.4292, allocations: 147.8 kB / 0.8234 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.4293, allocations: 31.64 kB / 0.8234 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.422e-05/0.4293, allocations: 98.89 kB / 0.8235 GB, free: 14.29 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-05/0.4293, allocations: 33.47 kB / 0.8236 GB, free: 14.26 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.4294, allocations: 30.98 kB / 0.8236 GB, free: 14.24 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.81e-05/0.4295, allocations: 324.9 kB / 0.8239 GB, free: 13.92 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001309/0.4296, allocations: 88.19 kB / 0.824 GB, free: 13.87 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.4297, allocations: 89.53 kB / 0.8241 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002024/0.4299, allocations: 148 kB / 0.8242 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.4299, allocations: 0 / 0.8242 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002805/0.4302, allocations: 230.2 kB / 0.8244 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.056e-05/0.4302, allocations: 33.38 kB / 0.8245 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4302, allocations: 0 / 0.8245 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.4302, allocations: 1.281 kB / 0.8245 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.894e-05/0.4303, allocations: 26.17 kB / 0.8245 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.4303, allocations: 1.641 kB / 0.8245 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.803e-05/0.4304, allocations: 18.84 kB / 0.8245 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.4304, allocations: 7.641 kB / 0.8245 GB, free: 13.58 MB / 0.6198 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 7.233e-05/0.4305, allocations: 118.3 kB / 0.8246 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.4305, allocations: 9.328 kB / 0.8246 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.808e-05/0.4305, allocations: 17.2 kB / 0.8246 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.4305, allocations: 4.453 kB / 0.8247 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.4305, allocations: 4.594 kB / 0.8247 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.4305, allocations: 4 kB / 0.8247 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000106/0.4306, allocations: 138.9 kB / 0.8248 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.993e-06/0.4306, allocations: 1.312 kB / 0.8248 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.701e-05/0.4307, allocations: 15.95 kB / 0.8248 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.4307, allocations: 2.031 kB / 0.8248 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.4307, allocations: 4.703 kB / 0.8248 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4307, allocations: 2.156 kB / 0.8248 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.4307, allocations: 0 / 0.8248 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.431, allocations: 194.2 kB / 0.825 GB, free: 13.19 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.212e-05/0.431, allocations: 8.312 kB / 0.825 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.431, allocations: 1.578 kB / 0.825 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.844e-05/0.4311, allocations: 22.03 kB / 0.825 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.791e-05/0.4311, allocations: 10.69 kB / 0.825 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.135e-06/0.4311, allocations: 2.547 kB / 0.825 GB, free: 13.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.556e-05/0.4312, allocations: 117.4 kB / 0.8252 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4312, allocations: 1 kB / 0.8252 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001881/0.4314, allocations: 37.69 kB / 0.8252 GB, free: 13.08 MB / 0.6198 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.0001287/0.4315, allocations: 116.5 kB / 0.8253 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003113/0.4318, allocations: 206.8 kB / 0.8255 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4318, allocations: 1.312 kB / 0.8255 GB, free: 12.87 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.4319, allocations: 59.94 kB / 0.8256 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001608/0.4321, allocations: 14.09 kB / 0.8256 GB, free: 12.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000427/0.4325, allocations: 267.3 kB / 0.8258 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.609e-05/0.4326, allocations: 85.61 kB / 0.8259 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.15e-05/0.4326, allocations: 14.34 kB / 0.8259 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of SimCode: time 4.71e-07/0.4326, allocations: 0 / 0.8259 GB, free: 12.56 MB / 0.6198 GB Notification: Performance of Templates: time 0.002958/0.4356, allocations: 1.579 MB / 0.8275 GB, free: 12.43 MB / 0.6198 GB " [Timeout remaining time 660] 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: 5.5636197458952665] Failed to read output from testmodel.py, exit status != 0: 0.4407428973354399 0.44980112399999994 0.021773283 Calling exit ...