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.001052/0.001052, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001128/0.001128, allocations: 193.4 kB / 16.25 MB, free: 6.629 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.284/1.284, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6905/0.6905, allocations: 132.2 MB / 422.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 64.47 kB / 0.5013 GB, free: 4.105 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.313, allocations: 80.2 MB / 0.5797 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002108/0.3152, allocations: 1.607 MB / 0.5812 GB, free: 3.434 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006947/0.3159, allocations: 0.5773 MB / 0.5818 GB, free: 3.031 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.093e-05/0.3159, allocations: 4.688 kB / 0.5818 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.682e-05/0.316, allocations: 5.906 kB / 0.5818 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.264e-05/0.3161, allocations: 12.7 kB / 0.5818 GB, free: 3.016 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002964/0.3164, allocations: 80.83 kB / 0.5819 GB, free: 2.98 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.3165, allocations: 92.39 kB / 0.582 GB, free: 2.941 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.741e-05/0.3166, allocations: 24.53 kB / 0.582 GB, free: 2.926 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.326e-05/0.3167, allocations: 48.8 kB / 0.5821 GB, free: 2.902 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.936e-05/0.3168, allocations: 44.42 kB / 0.5821 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.3168, allocations: 7.219 kB / 0.5821 GB, free: 2.883 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.284e-05/0.3169, allocations: 68.28 kB / 0.5822 GB, free: 2.859 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.964e-05/0.3169, allocations: 24.36 kB / 0.5822 GB, free: 2.844 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 4.598e-05/0.317, allocations: 38.17 kB / 0.5822 GB, free: 2.82 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.3172, allocations: 133.8 kB / 0.5824 GB, free: 2.777 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.3172, allocations: 0 / 0.5824 GB, free: 2.777 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3172, allocations: 4.547 kB / 0.5824 GB, free: 2.773 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.3172, allocations: 0 / 0.5824 GB, free: 2.773 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.0005986/0.3178, allocations: 460.1 kB / 0.5828 GB, free: 2.34 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.3178, allocations: 13.12 kB / 0.5828 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.966e-05/0.3179, allocations: 39.17 kB / 0.5829 GB, free: 2.293 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.503e-05/0.3179, allocations: 9.906 kB / 0.5829 GB, free: 2.289 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.318, allocations: 195.8 kB / 0.583 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.318, allocations: 3.406 kB / 0.5831 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.567e-05/0.3181, allocations: 4.375 kB / 0.5831 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002644/0.3183, allocations: 109.3 kB / 0.5832 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.3183, allocations: 0 / 0.5832 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.3184, allocations: 2.031 kB / 0.5832 GB, free: 2.023 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.699e-05/0.3184, allocations: 8.375 kB / 0.5832 GB, free: 2.02 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.3187, allocations: 91.08 kB / 0.5833 GB, free: 2 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004934/0.3192, allocations: 352 kB / 0.5836 GB, free: 1.695 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.3195, allocations: 91.67 kB / 0.5837 GB, free: 1.656 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.3196, allocations: 59.53 kB / 0.5837 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.3196, allocations: 1.281 kB / 0.5837 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000261/0.3199, allocations: 121.6 kB / 0.5839 GB, free: 1.566 MB / 430.1 MB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3199, allocations: 0 / 0.5839 GB, free: 1.566 MB / 430.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005657/0.3205, allocations: 201.3 kB / 0.584 GB, free: 1.504 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.45e-05/0.3205, allocations: 61.84 kB / 0.5841 GB, free: 1.434 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.961e-05/0.3206, allocations: 137.4 kB / 0.5842 GB, free: 1.324 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.416e-05/0.3206, allocations: 28.27 kB / 0.5843 GB, free: 1.293 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.598e-05/0.3207, allocations: 102.5 kB / 0.5844 GB, free: 1.195 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.049e-05/0.3207, allocations: 25.98 kB / 0.5844 GB, free: 1.176 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.3207, allocations: 28.48 kB / 0.5844 GB, free: 1.152 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.777e-05/0.3208, allocations: 324.8 kB / 0.5847 GB, free: 0.832 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.321, allocations: 62.14 kB / 0.5848 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.3211, allocations: 60.92 kB / 0.5848 GB, free: 0.8008 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003131/0.3214, allocations: 146.7 kB / 0.585 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.744e-06/0.3215, allocations: 0 / 0.585 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003938/0.3219, allocations: 196.7 kB / 0.5852 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.195e-05/0.3219, allocations: 34.11 kB / 0.5852 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.3219, allocations: 0 / 0.5852 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.636e-06/0.3219, allocations: 1.062 kB / 0.5852 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001275/0.322, allocations: 18.73 kB / 0.5852 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.259e-06/0.3221, allocations: 1.281 kB / 0.5852 GB, free: 0.6094 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001303/0.3222, allocations: 22.53 kB / 0.5852 GB, free: 0.6016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.3222, allocations: 12.41 kB / 0.5853 GB, free: 0.5938 MB / 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 5.863e-05/0.3223, allocations: 123.3 kB / 0.5854 GB, free: 484 kB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.725e-05/0.3223, allocations: 7.25 kB / 0.5854 GB, free: 480 kB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.719e-05/0.3223, allocations: 14.03 kB / 0.5854 GB, free: 464 kB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.3223, allocations: 6.891 kB / 0.5854 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.3223, allocations: 1.391 kB / 0.5854 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.3224, allocations: 0 / 0.5854 GB, free: 460 kB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.3225, allocations: 202.8 kB / 0.5856 GB, free: 244 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3225, allocations: 4.5 kB / 0.5856 GB, free: 240 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.3226, allocations: 21.36 kB / 0.5856 GB, free: 236 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3226, allocations: 5.219 kB / 0.5856 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.124e-05/0.3226, allocations: 1.406 kB / 0.5856 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.3226, allocations: 0.75 kB / 0.5856 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3226, allocations: 1.625 kB / 0.5856 GB, free: 232 kB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.323, allocations: 189 kB / 0.5858 GB, free: 128 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.036e-05/0.323, allocations: 88.19 kB / 0.5859 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.259e-05/0.3231, allocations: 2.188 kB / 0.5859 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.3232, allocations: 13.03 kB / 0.5859 GB, free: 24 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.3232, allocations: 14.5 kB / 0.5859 GB, free: 20 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.928e-06/0.3232, allocations: 2.594 kB / 0.5859 GB, free: 20 kB / 430.1 MB Notification: Performance of sorting global known variables: time 7.747e-05/0.3233, allocations: 114.8 kB / 0.586 GB, free: 15.93 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3233, allocations: 192 / 0.586 GB, free: 15.93 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002296/0.3236, allocations: 36.8 kB / 0.5861 GB, free: 15.93 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.0006572/0.3242, allocations: 0.7381 MB / 0.5868 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004373/0.3247, allocations: 190.3 kB / 0.587 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3247, allocations: 0 / 0.587 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.3249, allocations: 62.39 kB / 0.587 GB, free: 15.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.3251, allocations: 11.11 kB / 0.587 GB, free: 15.18 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002064/0.3271, allocations: 1.726 MB / 0.5887 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.3274, allocations: 0.6981 MB / 0.5894 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.06e-05/0.3274, allocations: 15.69 kB / 0.5894 GB, free: 13.15 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.3275, allocations: 27.03 kB / 0.5894 GB, free: 13.13 MB / 446.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3275, allocations: 4 kB / 0.5894 GB, free: 13.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.367/1.694, allocations: 2.546 MB / 0.5919 GB, free: 12.83 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002089/1.695, allocations: 185 kB / 0.5921 GB, free: 12.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.705/4.4, allocations: 5.188 kB / 0.5921 GB, free: 12.57 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)