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) 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/Modelica 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) 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: "" <> 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001234, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001285/0.001285, allocations: 192.9 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.256/1.256, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7458/0.7458, allocations: 132.2 MB / 422.6 MB, free: 1.781 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001316/0.001316, allocations: 59.16 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3379/0.3392, allocations: 80.2 MB / 0.5802 GB, free: 4.418 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002238/0.3415, allocations: 1.541 MB / 0.5817 GB, free: 3.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007527/0.3422, allocations: 0.5739 MB / 0.5822 GB, free: 2.945 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.484e-05/0.3423, allocations: 5.062 kB / 0.5822 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 7.805e-05/0.3424, allocations: 10.52 kB / 0.5823 GB, free: 2.934 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.365e-05/0.3424, allocations: 24.7 kB / 0.5823 GB, free: 2.914 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.3427, allocations: 95.94 kB / 0.5824 GB, free: 2.871 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.3429, allocations: 95.98 kB / 0.5825 GB, free: 2.828 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.181e-05/0.343, allocations: 23.3 kB / 0.5825 GB, free: 2.812 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.472e-05/0.3431, allocations: 50.03 kB / 0.5825 GB, free: 2.789 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.746e-05/0.3431, allocations: 41 kB / 0.5826 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.265e-05/0.3432, allocations: 6.656 kB / 0.5826 GB, free: 2.773 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.3433, allocations: 63.69 kB / 0.5826 GB, free: 2.754 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 4.219e-05/0.3433, allocations: 25 kB / 0.5827 GB, free: 2.738 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.877e-05/0.3434, allocations: 41.52 kB / 0.5827 GB, free: 2.711 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.3436, allocations: 133.1 kB / 0.5828 GB, free: 2.668 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.3436, allocations: 0.5625 kB / 0.5828 GB, free: 2.668 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.3436, allocations: 5.438 kB / 0.5828 GB, free: 2.664 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.3436, allocations: 0 / 0.5828 GB, free: 2.664 MB / 430.1 MB 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.0006217/0.3442, allocations: 451.1 kB / 0.5833 GB, free: 2.238 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.151e-05/0.3443, allocations: 9.812 kB / 0.5833 GB, free: 2.238 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.905e-05/0.3443, allocations: 34.61 kB / 0.5833 GB, free: 2.199 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.535e-05/0.3443, allocations: 21.78 kB / 0.5833 GB, free: 2.184 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.3445, allocations: 196.4 kB / 0.5835 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.3445, allocations: 2.812 kB / 0.5835 GB, free: 1.969 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.3445, allocations: 12.56 kB / 0.5835 GB, free: 1.961 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002818/0.3448, allocations: 105.7 kB / 0.5836 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.226e-06/0.3448, allocations: 0.7031 kB / 0.5836 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.3448, allocations: 1.125 kB / 0.5836 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.867e-05/0.3448, allocations: 5.109 kB / 0.5836 GB, free: 1.91 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003283/0.3452, allocations: 90.94 kB / 0.5837 GB, free: 1.891 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/0.3457, allocations: 343.5 kB / 0.5841 GB, free: 1.594 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002926/0.346, allocations: 100.5 kB / 0.5842 GB, free: 1.547 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.3462, allocations: 55.12 kB / 0.5842 GB, free: 1.531 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.3462, allocations: 9.266 kB / 0.5842 GB, free: 1.523 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002817/0.3465, allocations: 117.3 kB / 0.5843 GB, free: 1.457 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.3465, allocations: 0 / 0.5843 GB, free: 1.457 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.000603/0.3471, allocations: 200.8 kB / 0.5845 GB, free: 1.395 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.379e-05/0.3471, allocations: 62.08 kB / 0.5846 GB, free: 1.324 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.131e-05/0.3472, allocations: 138.9 kB / 0.5847 GB, free: 1.215 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.3472, allocations: 27.08 kB / 0.5847 GB, free: 1.184 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.514e-05/0.3473, allocations: 99.48 kB / 0.5848 GB, free: 1.09 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/0.3473, allocations: 33.7 kB / 0.5849 GB, free: 1.062 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.3474, allocations: 32.42 kB / 0.5849 GB, free: 1.035 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.646e-05/0.3474, allocations: 325.8 kB / 0.5852 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001848/0.3476, allocations: 56.12 kB / 0.5853 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001688/0.3478, allocations: 53.83 kB / 0.5853 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003311/0.3481, allocations: 150.7 kB / 0.5855 GB, free: 0.625 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3481, allocations: 0 / 0.5855 GB, free: 0.625 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004252/0.3485, allocations: 196.2 kB / 0.5856 GB, free: 0.5312 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.3486, allocations: 32.47 kB / 0.5857 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3486, allocations: 1.062 kB / 0.5857 GB, free: 0.5 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.3486, allocations: 4 kB / 0.5857 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001375/0.3487, allocations: 19.23 kB / 0.5857 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.3488, allocations: 1.469 kB / 0.5857 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.3489, allocations: 22.11 kB / 0.5857 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.504e-05/0.3489, allocations: 7.797 kB / 0.5857 GB, free: 496 kB / 430.1 MB 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 6.099e-05/0.349, allocations: 122.5 kB / 0.5858 GB, free: 376 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.981e-05/0.349, allocations: 8.969 kB / 0.5858 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.3491, allocations: 16 kB / 0.5859 GB, free: 352 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.3491, allocations: 13.11 kB / 0.5859 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3491, allocations: 0 / 0.5859 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.406e-06/0.3491, allocations: 0.9844 kB / 0.5859 GB, free: 344 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.3492, allocations: 198 kB / 0.5861 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3492, allocations: 0.875 kB / 0.5861 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001134/0.3493, allocations: 16.88 kB / 0.5861 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3493, allocations: 0.5312 kB / 0.5861 GB, free: 132 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.3494, allocations: 6.469 kB / 0.5861 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.3494, allocations: 5.125 kB / 0.5861 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.3494, allocations: 4.844 kB / 0.5861 GB, free: 120 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003999/0.3498, allocations: 188.3 kB / 0.5863 GB, free: 16 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.316e-05/0.3498, allocations: 89.03 kB / 0.5864 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.396e-05/0.3499, allocations: 1.406 kB / 0.5864 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001311/0.35, allocations: 18.33 kB / 0.5864 GB, free: 15.91 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.3501, allocations: 18.77 kB / 0.5864 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.859e-06/0.3501, allocations: 2.109 kB / 0.5864 GB, free: 15.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 6.799e-05/0.3502, allocations: 114.5 kB / 0.5865 GB, free: 15.81 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3502, allocations: 1.156 kB / 0.5865 GB, free: 15.81 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002461/0.3504, allocations: 41.16 kB / 0.5866 GB, free: 15.8 MB / 446.1 MB 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.0007042/0.3511, allocations: 0.7288 MB / 0.5873 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004579/0.3516, allocations: 187.1 kB / 0.5874 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3516, allocations: 4 kB / 0.5874 GB, free: 15.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002083/0.3518, allocations: 62.23 kB / 0.5875 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001924/0.352, allocations: 12.8 kB / 0.5875 GB, free: 15.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002208/0.3542, allocations: 1.697 MB / 0.5892 GB, free: 13.76 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.3545, allocations: 0.7065 MB / 0.5899 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.972e-05/0.3546, allocations: 10.97 kB / 0.5899 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.983e-05/0.3546, allocations: 26.78 kB / 0.5899 GB, free: 13.04 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3546, allocations: 1.812 kB / 0.5899 GB, free: 13.04 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1234/0.478, allocations: 2.7 MB / 0.5925 GB, free: 12.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.138/8.616, allocations: 11.64 kB / 0.5925 GB, free: 12.61 MB / 446.1 MB (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/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)