Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001304/0.001304, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001287/0.001287, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.458/1.458, allocations: 225.6 MB / 249.4 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8489/0.8489, allocations: 134 MB / 438.5 MB, free: 13.7 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001916/0.001916, allocations: 67.89 kB / 0.6083 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4259/0.4278, allocations: 84.67 MB / 0.691 GB, free: 2.168 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002424/0.4302, allocations: 1.554 MB / 0.6925 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0008274/0.431, allocations: 0.5909 MB / 0.6931 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.914e-05/0.4311, allocations: 5.406 kB / 0.6931 GB, free: 488 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.4312, allocations: 7.875 kB / 0.6931 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.527e-05/0.4312, allocations: 22.66 kB / 0.6931 GB, free: 460 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003613/0.4316, allocations: 86.95 kB / 0.6932 GB, free: 400 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.4317, allocations: 95.55 kB / 0.6933 GB, free: 344 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.4318, allocations: 17.47 kB / 0.6933 GB, free: 328 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001061/0.4319, allocations: 48.2 kB / 0.6934 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.082e-05/0.432, allocations: 45.55 kB / 0.6934 GB, free: 264 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.432, allocations: 11.34 kB / 0.6934 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001188/0.4322, allocations: 92.47 kB / 0.6935 GB, free: 208 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.593e-05/0.4322, allocations: 24.25 kB / 0.6935 GB, free: 188 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.4323, allocations: 37.95 kB / 0.6936 GB, free: 160 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.4324, allocations: 136.4 kB / 0.6937 GB, free: 68 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.4324, allocations: 0 / 0.6937 GB, free: 68 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4325, allocations: 0 / 0.6937 GB, free: 68 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.4325, allocations: 1.375 kB / 0.6937 GB, free: 68 kB / 0.4981 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.0009078/0.4334, allocations: 456.5 kB / 0.6941 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.4334, allocations: 13 kB / 0.6942 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.4335, allocations: 9.516 kB / 0.6942 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002286/0.4337, allocations: 204.8 kB / 0.6944 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.4337, allocations: 2.906 kB / 0.6944 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.377e-05/0.4337, allocations: 7.703 kB / 0.6944 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000314/0.434, allocations: 111.5 kB / 0.6945 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.434, allocations: 0 / 0.6945 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.4341, allocations: 4 kB / 0.6945 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.4341, allocations: 3.875 kB / 0.6945 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003253/0.4344, allocations: 90.39 kB / 0.6946 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006867/0.4351, allocations: 348.4 kB / 0.6949 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003085/0.4354, allocations: 88.58 kB / 0.695 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001784/0.4356, allocations: 54.41 kB / 0.695 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.4356, allocations: 1.219 kB / 0.695 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003199/0.4359, allocations: 121.4 kB / 0.6952 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.573e-06/0.4359, allocations: 0 / 0.6952 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0006311/0.4365, allocations: 207.5 kB / 0.6954 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.4366, allocations: 52.78 kB / 0.6954 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001315/0.4367, allocations: 143.7 kB / 0.6955 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.423e-05/0.4367, allocations: 31.08 kB / 0.6956 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.37e-05/0.4368, allocations: 104.2 kB / 0.6957 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.148e-05/0.4368, allocations: 31.86 kB / 0.6957 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.716e-05/0.4369, allocations: 25.95 kB / 0.6957 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.4371, allocations: 321.5 kB / 0.696 GB, free: 13.93 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001827/0.4372, allocations: 55.58 kB / 0.6961 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001651/0.4374, allocations: 66.59 kB / 0.6962 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003399/0.4378, allocations: 143.1 kB / 0.6963 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4378, allocations: 0 / 0.6963 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004409/0.4382, allocations: 208.5 kB / 0.6965 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.668e-05/0.4382, allocations: 35.19 kB / 0.6965 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/0.4382, allocations: 1.375 kB / 0.6965 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.4382, allocations: 0 / 0.6965 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001311/0.4384, allocations: 16.36 kB / 0.6965 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4384, allocations: 1.375 kB / 0.6965 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.4385, allocations: 21.55 kB / 0.6966 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.562e-05/0.4385, allocations: 6.688 kB / 0.6966 GB, free: 13.61 MB / 0.5137 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.000111/0.4386, allocations: 127.3 kB / 0.6967 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.4387, allocations: 8.078 kB / 0.6967 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.855e-05/0.4387, allocations: 15.45 kB / 0.6967 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.4387, allocations: 4.125 kB / 0.6967 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.4387, allocations: 0 / 0.6967 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.4387, allocations: 0 / 0.6967 GB, free: 13.45 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.4389, allocations: 204.5 kB / 0.6969 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.417e-06/0.4389, allocations: 4 kB / 0.6969 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.439, allocations: 19.83 kB / 0.6969 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.439, allocations: 0 / 0.6969 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.659e-05/0.439, allocations: 9.266 kB / 0.6969 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.439, allocations: 0 / 0.6969 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.439, allocations: 1.281 kB / 0.6969 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004363/0.4395, allocations: 189.4 kB / 0.6971 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.414e-05/0.4395, allocations: 87.94 kB / 0.6972 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.332e-05/0.4396, allocations: 1.469 kB / 0.6972 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.4397, allocations: 16.11 kB / 0.6972 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.148e-05/0.4397, allocations: 9.516 kB / 0.6972 GB, free: 12.96 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.348e-05/0.4398, allocations: 9.703 kB / 0.6972 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.402e-05/0.4398, allocations: 105.4 kB / 0.6973 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4398, allocations: 0 / 0.6973 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000248/0.4401, allocations: 40.31 kB / 0.6974 GB, free: 12.86 MB / 0.5137 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.0001611/0.4402, allocations: 115 kB / 0.6975 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004638/0.4407, allocations: 182.8 kB / 0.6977 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4407, allocations: 0 / 0.6977 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002031/0.4409, allocations: 63.62 kB / 0.6977 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002042/0.4411, allocations: 15.59 kB / 0.6977 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005309/0.4416, allocations: 239.5 kB / 0.698 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003382/0.442, allocations: 0.6998 MB / 0.6987 GB, free: 11.72 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.553e-05/0.4421, allocations: 19.22 kB / 0.6987 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.292e-05/0.4421, allocations: 15.42 kB / 0.6987 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of SimCode: time 3.9e-07/0.4421, allocations: 0 / 0.6987 GB, free: 11.7 MB / 0.5137 GB Notification: Performance of Templates: time 0.004287/0.4464, allocations: 1.435 MB / 0.7001 GB, free: 10.97 MB / 0.5137 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.708311841823161]