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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker") translateModel(IDEAS.Controls.Continuous.Examples.SignalRanker,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01179/0.01179, allocations: 172.1 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8642/0.8642, allocations: 132.3 MB / 148.1 MB, free: 232 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.953/1.953, allocations: 223.2 MB / 403.2 MB, free: 6.707 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001032/0.001032, allocations: 103.3 kB / 485.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004197/0.0004197, allocations: 8 kB / 0.5641 GB, free: 2.105 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5132/0.5137, allocations: 81.58 MB / 0.6437 GB, free: 39.3 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1847/0.6984, allocations: 112.7 MB / 0.7538 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.6988, allocations: 75.95 kB / 0.7538 GB, free: 7.184 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01075/0.7096, allocations: 3.563 MB / 0.7573 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.305e-06/0.7096, allocations: 0 / 0.7573 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.793e-05/0.7096, allocations: 4 kB / 0.7573 GB, free: 3.609 MB / 0.5261 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.0008076/0.7104, allocations: 460.5 kB / 0.7578 GB, free: 3.105 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.271e-05/0.7105, allocations: 8.031 kB / 0.7578 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.314e-05/0.7106, allocations: 7.906 kB / 0.7578 GB, free: 3.09 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002678/0.7108, allocations: 198.8 kB / 0.758 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.7109, allocations: 0 / 0.758 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.231e-05/0.7109, allocations: 8 kB / 0.758 GB, free: 2.848 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000338/0.7112, allocations: 113.5 kB / 0.7581 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.7113, allocations: 0 / 0.7581 GB, free: 2.73 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.97e-05/0.7113, allocations: 8 kB / 0.7581 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.7113, allocations: 0 / 0.7581 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003605/0.7117, allocations: 103.9 kB / 0.7582 GB, free: 2.621 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007467/0.7124, allocations: 372.6 kB / 0.7585 GB, free: 2.207 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.7128, allocations: 114.5 kB / 0.7586 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.7128, allocations: 0 / 0.7586 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003155/0.7131, allocations: 123.3 kB / 0.7588 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.7131, allocations: 0 / 0.7588 GB, free: 1.953 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0007547/0.7139, allocations: 310.5 kB / 0.7591 GB, free: 1.625 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.714, allocations: 59.39 kB / 0.7591 GB, free: 1.555 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.7141, allocations: 119.2 kB / 0.7592 GB, free: 1.434 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.7141, allocations: 33.7 kB / 0.7593 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.932e-05/0.7142, allocations: 100 kB / 0.7594 GB, free: 1.293 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.007e-05/0.7143, allocations: 28 kB / 0.7594 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.7143, allocations: 4 kB / 0.7594 GB, free: 1.262 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.7144, allocations: 318.8 kB / 0.7597 GB, free: 0.9414 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.7146, allocations: 71.83 kB / 0.7598 GB, free: 0.8711 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001834/0.7148, allocations: 72 kB / 0.7598 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/0.7151, allocations: 93.64 kB / 0.7599 GB, free: 0.7031 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.7151, allocations: 4 kB / 0.7599 GB, free: 0.6992 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0005258/0.7156, allocations: 219.1 kB / 0.7601 GB, free: 484 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.256e-05/0.7157, allocations: 35.73 kB / 0.7602 GB, free: 444 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/0.7157, allocations: 0 / 0.7602 GB, free: 444 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.7157, allocations: 4 kB / 0.7602 GB, free: 440 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.7159, allocations: 27.91 kB / 0.7602 GB, free: 412 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.7159, allocations: 0 / 0.7602 GB, free: 412 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001363/0.716, allocations: 19.98 kB / 0.7602 GB, free: 392 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.7161, allocations: 8 kB / 0.7602 GB, free: 384 kB / 0.5261 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * 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: 0 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001188/0.7162, allocations: 121.8 kB / 0.7603 GB, free: 252 kB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.191e-05/0.7162, allocations: 15.86 kB / 0.7604 GB, free: 236 kB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005117/0.7167, allocations: 186.2 kB / 0.7605 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.7168, allocations: 0 / 0.7605 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/0.7168, allocations: 0 / 0.7605 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.7168, allocations: 0 / 0.7605 GB, free: 40 kB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002395/0.717, allocations: 213.4 kB / 0.7607 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.717, allocations: 0 / 0.7607 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001209/0.7172, allocations: 23.98 kB / 0.7608 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.7172, allocations: 0 / 0.7608 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.149e-05/0.7172, allocations: 11.94 kB / 0.7608 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.7172, allocations: 0 / 0.7608 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.7172, allocations: 0 / 0.7608 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004607/0.7177, allocations: 205 kB / 0.761 GB, free: 15.53 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.78e-05/0.7178, allocations: 85.02 kB / 0.761 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.7178, allocations: 3.938 kB / 0.7611 GB, free: 15.42 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000134/0.7179, allocations: 23.94 kB / 0.7611 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.718, allocations: 19.97 kB / 0.7611 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.249e-05/0.718, allocations: 0 / 0.7611 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.865e-05/0.7181, allocations: 107.2 kB / 0.7612 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7181, allocations: 0 / 0.7612 GB, free: 15.27 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002889/0.7184, allocations: 44 kB / 0.7612 GB, free: 15.23 MB / 0.5417 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: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002117/0.7186, allocations: 115.2 kB / 0.7613 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005205/0.7192, allocations: 232.9 kB / 0.7616 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.7192, allocations: 0 / 0.7616 GB, free: 14.86 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.7194, allocations: 109.6 kB / 0.7617 GB, free: 14.75 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001938/0.7196, allocations: 8 kB / 0.7617 GB, free: 14.74 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005886/0.7202, allocations: 255.1 kB / 0.7619 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003062/0.7205, allocations: 0.7004 MB / 0.7626 GB, free: 13.74 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 7.9e-05/0.7206, allocations: 15.98 kB / 0.7626 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.999e-05/0.7207, allocations: 11.44 kB / 0.7626 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of SimCode: time 3.01e-07/0.7207, allocations: 0 / 0.7626 GB, free: 13.71 MB / 0.5417 GB Notification: Performance of Templates: time 0.004347/0.725, allocations: 1.278 MB / 0.7639 GB, free: 12.44 MB / 0.5417 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.makefile (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)