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/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_dev_IDEAS_Controls_Continuous_Examples_SignalRanker",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.Continuous.Examples.SignalRanker,fileNamePrefix="IDEAS_dev_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.001159/0.001159, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.99/0.99, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.859/1.859, allocations: 221.3 MB / 400.4 MB, free: 5.836 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008692/0.0008696, allocations: 105.1 kB / 483.3 MB, free: 5.875 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.485e-05/4.521e-05, allocations: 4.094 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1728, allocations: 82.3 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7188/0.8917, allocations: 112.8 MB / 0.7507 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/0.8921, allocations: 73.86 kB / 0.7508 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01276/0.9048, allocations: 3.537 MB / 0.7542 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.555e-06/0.9049, allocations: 3.938 kB / 0.7542 GB, free: 27.46 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.068e-05/0.9049, allocations: 3.844 kB / 0.7542 GB, free: 27.46 MB / 0.5105 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.0008306/0.9058, allocations: 445.1 kB / 0.7546 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.395e-05/0.9059, allocations: 7.688 kB / 0.7547 GB, free: 27.05 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.954e-05/0.9059, allocations: 40.22 kB / 0.7547 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.109e-05/0.906, allocations: 7.75 kB / 0.7547 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003205/0.9063, allocations: 198.1 kB / 0.7549 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.9064, allocations: 0 / 0.7549 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.9064, allocations: 3.875 kB / 0.7549 GB, free: 26.8 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002274/0.9066, allocations: 81.84 kB / 0.755 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.9067, allocations: 3.812 kB / 0.755 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.043e-05/0.9067, allocations: 2.766 kB / 0.755 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.9067, allocations: 4 kB / 0.755 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.9068, allocations: 39.84 kB / 0.755 GB, free: 26.76 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008091/0.9077, allocations: 375.5 kB / 0.7554 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.9078, allocations: 54.5 kB / 0.7554 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.7e-05/0.9079, allocations: 30.8 kB / 0.7555 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.33e-05/0.908, allocations: 0 / 0.7555 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002034/0.9082, allocations: 94.8 kB / 0.7555 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 2.004e-06/0.9082, allocations: 3.938 kB / 0.7556 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0003531/0.9085, allocations: 110.8 kB / 0.7557 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.864e-05/0.9086, allocations: 55.41 kB / 0.7557 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000152/0.9088, allocations: 124.2 kB / 0.7558 GB, free: 26.2 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.701e-05/0.9088, allocations: 32.7 kB / 0.7559 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.685e-05/0.9089, allocations: 104.6 kB / 0.756 GB, free: 26.08 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.9089, allocations: 25.95 kB / 0.756 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.829e-06/0.909, allocations: 0 / 0.756 GB, free: 26.06 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001572/0.9091, allocations: 320.6 kB / 0.7563 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.491e-05/0.9092, allocations: 40.41 kB / 0.7563 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.762e-05/0.9093, allocations: 36.92 kB / 0.7564 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001125/0.9094, allocations: 60.53 kB / 0.7564 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.9095, allocations: 0 / 0.7564 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002997/0.9098, allocations: 154.8 kB / 0.7566 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.2e-05/0.9098, allocations: 30.64 kB / 0.7566 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.357e-05/0.9098, allocations: 0 / 0.7566 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.9099, allocations: 3.844 kB / 0.7566 GB, free: 25.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001767/0.9101, allocations: 29.03 kB / 0.7566 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.9101, allocations: 4 kB / 0.7566 GB, free: 25.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.9103, allocations: 32.5 kB / 0.7567 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.908e-05/0.9103, allocations: 9.703 kB / 0.7567 GB, free: 25.59 MB / 0.5105 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 () * 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 9.979e-05/0.9104, allocations: 101 kB / 0.7568 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.9104, allocations: 19.53 kB / 0.7568 GB, free: 25.47 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003155/0.9108, allocations: 123.1 kB / 0.7569 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.9108, allocations: 6.953 kB / 0.7569 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.9108, allocations: 0 / 0.7569 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.9108, allocations: 0 / 0.7569 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.911, allocations: 197 kB / 0.7571 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.911, allocations: 0 / 0.7571 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001364/0.9112, allocations: 21.25 kB / 0.7571 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.9112, allocations: 0 / 0.7571 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.9112, allocations: 14.53 kB / 0.7571 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.9112, allocations: 0 / 0.7571 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.9112, allocations: 7.938 kB / 0.7571 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.9115, allocations: 130.9 kB / 0.7573 GB, free: 25.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.9116, allocations: 88.8 kB / 0.7574 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.883e-05/0.9116, allocations: 3.188 kB / 0.7574 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001564/0.9118, allocations: 24.77 kB / 0.7574 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.212e-05/0.9119, allocations: 19.72 kB / 0.7574 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-05/0.9119, allocations: 3.844 kB / 0.7574 GB, free: 25.05 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0001342/0.912, allocations: 106.6 kB / 0.7575 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2e-07/0.912, allocations: 0 / 0.7575 GB, free: 24.97 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003647/0.9124, allocations: 43.84 kB / 0.7575 GB, free: 24.96 MB / 0.5105 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) * 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.0007438/0.9132, allocations: 0.6958 MB / 0.7582 GB, free: 24.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003174/0.9135, allocations: 169.7 kB / 0.7584 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.9135, allocations: 0 / 0.7584 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.9136, allocations: 73.75 kB / 0.7585 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.9139, allocations: 10.89 kB / 0.7585 GB, free: 24.22 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000664/0.9145, allocations: 187.8 kB / 0.7586 GB, free: 24.1 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003674/0.9149, allocations: 0.7043 MB / 0.7593 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 9.203e-05/0.915, allocations: 12.89 kB / 0.7593 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.912e-05/0.9151, allocations: 26.78 kB / 0.7594 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of SimCode: time 4.41e-07/0.9151, allocations: 0 / 0.7594 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.9364, allocations: 2.452 MB / 0.7618 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002081/0.9367, allocations: 147.9 kB / 0.7619 GB, free: 22.03 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.622/2.559, allocations: 3.938 kB / 0.7619 GB, free: 22.02 MB / 0.5105 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1)