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.001092/0.001092, allocations: 174.7 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.7421/0.7421, 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.597/1.597, allocations: 221.3 MB / 400.4 MB, free: 5.812 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.001114/0.001114, allocations: 90.38 kB / 483.3 MB, free: 5.824 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.171e-05/4.208e-05, allocations: 2.469 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1936, allocations: 82.3 MB / 0.6405 GB, free: 7.727 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6911/0.8848, allocations: 112.8 MB / 0.7507 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.8851, allocations: 75.3 kB / 0.7508 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.009887/0.895, allocations: 3.538 MB / 0.7542 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.144e-06/0.895, allocations: 0 / 0.7542 GB, free: 27.52 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.914e-05/0.8951, allocations: 3.875 kB / 0.7542 GB, free: 27.52 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.0007751/0.8958, allocations: 455.1 kB / 0.7546 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.8959, allocations: 7.719 kB / 0.7547 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.494e-05/0.896, allocations: 41 kB / 0.7547 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.6e-05/0.896, allocations: 11.06 kB / 0.7547 GB, free: 27.06 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003241/0.8964, allocations: 190.6 kB / 0.7549 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.8964, allocations: 2.672 kB / 0.7549 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.8964, allocations: 7.531 kB / 0.7549 GB, free: 26.85 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.8966, allocations: 86.23 kB / 0.755 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.8967, allocations: 0 / 0.755 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/0.8967, allocations: 3.25 kB / 0.755 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.004e-06/0.8967, allocations: 0 / 0.755 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.8968, allocations: 43.8 kB / 0.755 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007688/0.8976, allocations: 363.9 kB / 0.7554 GB, free: 26.54 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.8977, allocations: 58.39 kB / 0.7554 GB, free: 26.52 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.403e-05/0.8978, allocations: 32.41 kB / 0.7555 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.8979, allocations: 3.125 kB / 0.7555 GB, free: 26.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.898, allocations: 97.97 kB / 0.7556 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=9): time 1.814e-06/0.8981, allocations: 4 kB / 0.7556 GB, free: 26.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9): time 0.0002805/0.8983, allocations: 104 kB / 0.7557 GB, free: 26.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.374e-05/0.8984, allocations: 53.7 kB / 0.7557 GB, free: 26.35 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.8985, allocations: 126.5 kB / 0.7558 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.37e-05/0.8985, allocations: 30.84 kB / 0.7559 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 8.877e-05/0.8986, allocations: 104 kB / 0.756 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.8987, allocations: 28.78 kB / 0.756 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.587e-06/0.8987, allocations: 3 kB / 0.756 GB, free: 26.12 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.8988, allocations: 324.8 kB / 0.7563 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.8989, allocations: 32.12 kB / 0.7563 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.075e-05/0.899, allocations: 38.19 kB / 0.7564 GB, free: 25.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.842e-05/0.8991, allocations: 57.75 kB / 0.7564 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.8991, allocations: 3.938 kB / 0.7564 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002386/0.8993, allocations: 151.6 kB / 0.7566 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.8994, allocations: 31.77 kB / 0.7566 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.8994, allocations: 3.781 kB / 0.7566 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.8994, allocations: 0 / 0.7566 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.8996, allocations: 28.59 kB / 0.7566 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.8996, allocations: 0 / 0.7566 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001424/0.8998, allocations: 31.05 kB / 0.7567 GB, free: 25.65 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.8998, allocations: 10.02 kB / 0.7567 GB, free: 25.64 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.783e-05/0.8999, allocations: 108.8 kB / 0.7568 GB, free: 25.54 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.452e-05/0.8999, allocations: 11.7 kB / 0.7568 GB, free: 25.53 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.9002, allocations: 126.8 kB / 0.7569 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.9002, allocations: 0 / 0.7569 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.9002, allocations: 0 / 0.7569 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.9002, allocations: 2.438 kB / 0.7569 GB, free: 25.49 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001763/0.9004, allocations: 199.9 kB / 0.7571 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.501e-06/0.9004, allocations: 0 / 0.7571 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.9005, allocations: 22.19 kB / 0.7571 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.9006, allocations: 4 kB / 0.7571 GB, free: 25.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.511e-05/0.9006, allocations: 7.938 kB / 0.7571 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.9006, allocations: 4 kB / 0.7571 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.9006, allocations: 6.141 kB / 0.7571 GB, free: 25.29 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001972/0.9008, allocations: 133.9 kB / 0.7573 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.514e-05/0.9009, allocations: 88.77 kB / 0.7574 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.754e-05/0.9009, allocations: 3.062 kB / 0.7574 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001254/0.901, allocations: 28.34 kB / 0.7574 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.9011, allocations: 15.2 kB / 0.7574 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.9011, allocations: 4 kB / 0.7574 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 8.477e-05/0.9012, allocations: 108.6 kB / 0.7575 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9012, allocations: 0 / 0.7575 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002958/0.9015, allocations: 46.41 kB / 0.7575 GB, free: 25.02 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.0006634/0.9022, allocations: 0.6912 MB / 0.7582 GB, free: 24.41 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0002759/0.9025, allocations: 173.9 kB / 0.7584 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.9025, allocations: 0 / 0.7584 GB, free: 24.31 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.9026, allocations: 69.59 kB / 0.7585 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.9028, allocations: 12.7 kB / 0.7585 GB, free: 24.28 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000562/0.9034, allocations: 191.2 kB / 0.7587 GB, free: 24.15 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000309/0.9037, allocations: 0.7035 MB / 0.7593 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.156e-05/0.9038, allocations: 10.86 kB / 0.7593 GB, free: 23.46 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.9038, allocations: 27.05 kB / 0.7594 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of SimCode: time 4.01e-07/0.9038, allocations: 3.938 kB / 0.7594 GB, free: 23.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01782/0.9217, allocations: 2.446 MB / 0.7618 GB, free: 22.39 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002951/0.9221, allocations: 143.3 kB / 0.7619 GB, free: 22.17 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.68/2.603, allocations: 0 / 0.7619 GB, free: 22.17 MB / 0.5105 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)