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-master/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-master/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: "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.01583/0.01583, allocations: 171.9 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8847/0.8847, allocations: 135.2 MB / 151 MB, free: 13.83 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.683/1.683, allocations: 223.2 MB / 406.8 MB, free: 3.254 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.0009797/0.0009795, allocations: 88.44 kB / 489.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000407/0.0004074, allocations: 8 kB / 0.5691 GB, free: 14.14 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5232/0.5236, allocations: 82.31 MB / 0.6495 GB, free: 36.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1887/0.7124, allocations: 112.9 MB / 0.7598 GB, free: 3.152 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003639/0.7129, allocations: 79.94 kB / 0.7599 GB, free: 3.074 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01262/0.7255, allocations: 3.548 MB / 0.7633 GB, free: 15.52 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.045e-06/0.7256, allocations: 3.938 kB / 0.7633 GB, free: 15.51 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.31e-05/0.7256, allocations: 0 / 0.7633 GB, free: 15.51 MB / 0.5417 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.000886/0.7265, allocations: 464.5 kB / 0.7638 GB, free: 15 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 7.762e-05/0.7266, allocations: 12.03 kB / 0.7638 GB, free: 14.99 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.966e-05/0.7267, allocations: 34.56 kB / 0.7638 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.929e-05/0.7268, allocations: 7.906 kB / 0.7638 GB, free: 14.94 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003639/0.7271, allocations: 205.3 kB / 0.764 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.473e-05/0.7272, allocations: 4 kB / 0.764 GB, free: 14.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.7272, allocations: 7.984 kB / 0.764 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003984/0.7276, allocations: 117.5 kB / 0.7641 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.7276, allocations: 0 / 0.7641 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.037e-05/0.7277, allocations: 3.984 kB / 0.7641 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.7277, allocations: 0 / 0.7641 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003577/0.728, allocations: 111.9 kB / 0.7642 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007464/0.7288, allocations: 368.6 kB / 0.7646 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003321/0.7291, allocations: 106.5 kB / 0.7647 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 3.302e-05/0.7292, allocations: 4 kB / 0.7647 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003094/0.7295, allocations: 123.3 kB / 0.7648 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=9): time 1.403e-06/0.7295, allocations: 4 kB / 0.7648 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of matching and sorting (n=9): time 0.0007744/0.7303, allocations: 310.5 kB / 0.7651 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.664e-05/0.7304, allocations: 55.41 kB / 0.7652 GB, free: 13.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001266/0.7305, allocations: 121 kB / 0.7653 GB, free: 13.27 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.042e-05/0.7306, allocations: 33.7 kB / 0.7653 GB, free: 13.23 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.72e-05/0.7306, allocations: 100 kB / 0.7654 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.103e-05/0.7307, allocations: 35.7 kB / 0.7654 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.7307, allocations: 0 / 0.7654 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.7309, allocations: 319.1 kB / 0.7658 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.7311, allocations: 67.89 kB / 0.7658 GB, free: 12.71 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.7313, allocations: 75.92 kB / 0.7659 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002081/0.7315, allocations: 93.66 kB / 0.766 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7315, allocations: 4 kB / 0.766 GB, free: 12.54 MB / 0.5417 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004743/0.732, allocations: 207.1 kB / 0.7662 GB, free: 12.32 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.487e-05/0.7321, allocations: 45.64 kB / 0.7662 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.7321, allocations: 0 / 0.7662 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.7321, allocations: 0 / 0.7662 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001642/0.7323, allocations: 27.92 kB / 0.7663 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.7323, allocations: 0 / 0.7663 GB, free: 12.24 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.7325, allocations: 19.97 kB / 0.7663 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.885e-05/0.7325, allocations: 8 kB / 0.7663 GB, free: 12.21 MB / 0.5417 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.0001249/0.7327, allocations: 121.8 kB / 0.7664 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.7327, allocations: 7.906 kB / 0.7664 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005354/0.7332, allocations: 190.2 kB / 0.7666 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.588e-06/0.7332, allocations: 0 / 0.7666 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.7333, allocations: 0 / 0.7666 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.7333, allocations: 7.938 kB / 0.7666 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.7335, allocations: 209.4 kB / 0.7668 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.489e-06/0.7335, allocations: 0 / 0.7668 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/0.7337, allocations: 27.98 kB / 0.7668 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.7337, allocations: 0 / 0.7668 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.888e-05/0.7337, allocations: 3.984 kB / 0.7668 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.501e-05/0.7337, allocations: 3.953 kB / 0.7668 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.7337, allocations: 4 kB / 0.7668 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004773/0.7342, allocations: 188.9 kB / 0.767 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.7343, allocations: 93 kB / 0.7671 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.766e-05/0.7344, allocations: 192 / 0.7671 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001333/0.7345, allocations: 19.98 kB / 0.7671 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.124e-05/0.7346, allocations: 27.86 kB / 0.7671 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/0.7346, allocations: 4 kB / 0.7671 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.597e-05/0.7347, allocations: 105 kB / 0.7672 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.7347, allocations: 0 / 0.7672 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003206/0.7351, allocations: 40 kB / 0.7673 GB, free: 11.08 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.0011/0.7362, allocations: 0.7567 MB / 0.768 GB, free: 10.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0005845/0.7368, allocations: 236.9 kB / 0.7682 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.7368, allocations: 0 / 0.7682 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002379/0.737, allocations: 97.66 kB / 0.7683 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002548/0.7373, allocations: 15.94 kB / 0.7684 GB, free: 9.93 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.7391, allocations: 0.8259 MB / 0.7692 GB, free: 9.047 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.7396, allocations: 0.7004 MB / 0.7698 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 9.678e-05/0.7397, allocations: 15.97 kB / 0.7699 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.286e-05/0.7398, allocations: 35.36 kB / 0.7699 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of SimCode: time 3.31e-07/0.7398, allocations: 0 / 0.7699 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0158/0.7556, allocations: 2.417 MB / 0.7723 GB, free: 5.965 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001784/0.7558, allocations: 166.8 kB / 0.7724 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/2.477, allocations: 0 / 0.7724 GB, free: 5.723 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)