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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00204/0.00204, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002131/0.002131, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.659/1.659, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.164/1.164, allocations: 175.7 MB / 478.4 MB, free: 3.438 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 70.94 kB / 0.6652 GB, free: 11.2 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.2765, allocations: 94.53 MB / 0.7575 GB, free: 1.602 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.003402/0.2799, allocations: 1.559 MB / 0.759 GB, free: 32 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001212/0.2812, allocations: 0.5745 MB / 0.7596 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.349e-05/0.2812, allocations: 0 / 0.7596 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001286/0.2813, allocations: 11.88 kB / 0.7596 GB, free: 15.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.634e-05/0.2814, allocations: 27.78 kB / 0.7596 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004339/0.2818, allocations: 91.77 kB / 0.7597 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.282, allocations: 87.7 kB / 0.7598 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001305/0.2821, allocations: 20.16 kB / 0.7598 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001351/0.2823, allocations: 51.77 kB / 0.7598 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001034/0.2824, allocations: 47.83 kB / 0.7599 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.446e-05/0.2824, allocations: 8 kB / 0.7599 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001582/0.2826, allocations: 87.84 kB / 0.76 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.943e-05/0.2826, allocations: 23.92 kB / 0.76 GB, free: 15 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.698e-05/0.2827, allocations: 39.78 kB / 0.76 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.2829, allocations: 135.5 kB / 0.7602 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.2829, allocations: 0 / 0.7602 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2829, allocations: 0 / 0.7602 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.2829, allocations: 0 / 0.7602 GB, free: 14.83 MB / 0.5762 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.0009304/0.2839, allocations: 460.5 kB / 0.7606 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.276e-05/0.2839, allocations: 11.97 kB / 0.7606 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.301e-05/0.284, allocations: 42.75 kB / 0.7607 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.459e-05/0.284, allocations: 8.891 kB / 0.7607 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.2842, allocations: 196.2 kB / 0.7609 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.2843, allocations: 4.375 kB / 0.7609 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.825e-05/0.2843, allocations: 4.375 kB / 0.7609 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003159/0.2846, allocations: 109.7 kB / 0.761 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.2846, allocations: 3.938 kB / 0.761 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.2846, allocations: 0 / 0.761 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.27e-05/0.2846, allocations: 8 kB / 0.761 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003217/0.285, allocations: 95.89 kB / 0.7611 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006329/0.2856, allocations: 344.6 kB / 0.7614 GB, free: 13.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.2859, allocations: 90.44 kB / 0.7615 GB, free: 13.31 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.286, allocations: 60.88 kB / 0.7615 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.2861, allocations: 0 / 0.7615 GB, free: 13.25 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003862/0.2864, allocations: 115.4 kB / 0.7617 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.2864, allocations: 0 / 0.7617 GB, free: 13.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=9): time 0.0006793/0.2871, allocations: 205.5 kB / 0.7619 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.2872, allocations: 55.39 kB / 0.7619 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.2873, allocations: 143.3 kB / 0.762 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.955e-05/0.2874, allocations: 29.7 kB / 0.7621 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.389e-05/0.2875, allocations: 100.1 kB / 0.7622 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.987e-05/0.2875, allocations: 27.75 kB / 0.7622 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/0.2875, allocations: 25.7 kB / 0.7622 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.2877, allocations: 326.9 kB / 0.7625 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001792/0.2879, allocations: 59.89 kB / 0.7626 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.2881, allocations: 63.89 kB / 0.7626 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003493/0.2884, allocations: 138.5 kB / 0.7628 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2884, allocations: 0 / 0.7628 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004679/0.2889, allocations: 207.2 kB / 0.763 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.496e-05/0.2889, allocations: 33.7 kB / 0.763 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.2889, allocations: 0 / 0.763 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.712e-05/0.2889, allocations: 480 / 0.763 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.2891, allocations: 23.91 kB / 0.763 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.2891, allocations: 4 kB / 0.763 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001339/0.2892, allocations: 11.98 kB / 0.763 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.2893, allocations: 7.938 kB / 0.7631 GB, free: 11.61 MB / 0.5762 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 (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 0.0001271/0.2894, allocations: 125.8 kB / 0.7632 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.375e-05/0.2894, allocations: 7.953 kB / 0.7632 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.252e-05/0.2895, allocations: 16.72 kB / 0.7632 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.546e-05/0.2895, allocations: 4 kB / 0.7632 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.2895, allocations: 3.938 kB / 0.7632 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.2895, allocations: 3.984 kB / 0.7632 GB, free: 11.44 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002147/0.2897, allocations: 197.5 kB / 0.7634 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.2897, allocations: 4 kB / 0.7634 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001113/0.2898, allocations: 19.97 kB / 0.7634 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.2898, allocations: 4 kB / 0.7634 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-06/0.2898, allocations: 0 / 0.7634 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.2898, allocations: 0 / 0.7634 GB, free: 11.17 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.2898, allocations: 3.938 kB / 0.7634 GB, free: 11.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004385/0.2903, allocations: 184.9 kB / 0.7636 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.49e-05/0.2903, allocations: 89 kB / 0.7637 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.997e-05/0.2903, allocations: 4 kB / 0.7637 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001234/0.2905, allocations: 19.97 kB / 0.7637 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.2905, allocations: 11.98 kB / 0.7637 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.2905, allocations: 0 / 0.7637 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.718e-05/0.2906, allocations: 113.2 kB / 0.7638 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.2906, allocations: 0 / 0.7638 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002547/0.2909, allocations: 39.94 kB / 0.7639 GB, free: 10.68 MB / 0.5762 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: 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.0008861/0.2918, allocations: 0.7294 MB / 0.7646 GB, free: 9.918 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004603/0.2922, allocations: 191.2 kB / 0.7648 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.2922, allocations: 0 / 0.7648 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001985/0.2924, allocations: 67.88 kB / 0.7648 GB, free: 9.652 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.2927, allocations: 12.09 kB / 0.7648 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002619/0.2953, allocations: 1.724 MB / 0.7665 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.2957, allocations: 0.7002 MB / 0.7672 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 9.151e-05/0.2958, allocations: 19.97 kB / 0.7672 GB, free: 7.086 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.006e-05/0.2958, allocations: 31.42 kB / 0.7673 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of SimCode: time 7.82e-07/0.2958, allocations: 0 / 0.7673 GB, free: 7.055 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.324, allocations: 2.757 MB / 0.7699 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.228/8.552, allocations: 5.703 kB / 0.77 GB, free: 4.375 MB / 0.5762 GB " [Timeout remaining time 651] (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/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_Continuous_Examples_SignalRanker.fmu > IDEAS_dev_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.159317044075578] Failed to read output from testmodel.py, exit status != 0: 8.622089331969619 8.64512467 8.358594536 Calling exit ...