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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 102.6 kB / 16.45 MB, free: 6.504 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.001326/0.001326, allocations: 191.7 kB / 19.41 MB, free: 3.68 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.296/1.296, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7837/0.7837, allocations: 134 MB / 436.6 MB, free: 1.293 MB / 334.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/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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001782/0.001782, allocations: 68.45 kB / 0.6051 GB, free: 15.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.1471, allocations: 84.67 MB / 0.6878 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002625/0.1497, allocations: 1.568 MB / 0.6893 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009798/0.1507, allocations: 0.5843 MB / 0.6899 GB, free: 8.965 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.145e-05/0.1507, allocations: 4 kB / 0.6899 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.1508, allocations: 7.922 kB / 0.6899 GB, free: 8.953 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.45e-05/0.1509, allocations: 23.8 kB / 0.6899 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003705/0.1513, allocations: 87.77 kB / 0.69 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.1514, allocations: 103.6 kB / 0.6901 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1515, allocations: 12.23 kB / 0.6901 GB, free: 8.727 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001109/0.1516, allocations: 47.83 kB / 0.6901 GB, free: 8.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 8.727e-05/0.1517, allocations: 47.77 kB / 0.6902 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.1517, allocations: 4 kB / 0.6902 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.1519, allocations: 91.84 kB / 0.6903 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.1519, allocations: 23.92 kB / 0.6903 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.595e-05/0.152, allocations: 39.78 kB / 0.6903 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002067/0.1522, allocations: 139.8 kB / 0.6905 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1522, allocations: 0 / 0.6905 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1522, allocations: 0 / 0.6905 GB, free: 8.34 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.1522, allocations: 0 / 0.6905 GB, free: 8.34 MB / 0.5137 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.0007832/0.153, allocations: 456.6 kB / 0.6909 GB, free: 7.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.153, allocations: 12.03 kB / 0.6909 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.899e-05/0.153, allocations: 34.75 kB / 0.6909 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.1531, allocations: 16.88 kB / 0.691 GB, free: 7.77 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.1533, allocations: 196.1 kB / 0.6911 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1533, allocations: 8.359 kB / 0.6912 GB, free: 7.531 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.1533, allocations: 4.375 kB / 0.6912 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002921/0.1536, allocations: 105.7 kB / 0.6913 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.1536, allocations: 0 / 0.6913 GB, free: 7.418 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/0.1536, allocations: 4 kB / 0.6913 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.827e-05/0.1536, allocations: 4 kB / 0.6913 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003098/0.1539, allocations: 91.84 kB / 0.6914 GB, free: 7.32 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006179/0.1546, allocations: 344.7 kB / 0.6917 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002917/0.1548, allocations: 94.45 kB / 0.6918 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.155, allocations: 56.86 kB / 0.6918 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.202e-05/0.155, allocations: 0 / 0.6918 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000305/0.1553, allocations: 119.3 kB / 0.6919 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.1553, allocations: 0 / 0.6919 GB, free: 6.645 MB / 0.5137 GB Notification: Performance of matching and sorting (n=9): time 0.0006094/0.1559, allocations: 205.5 kB / 0.6921 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/0.156, allocations: 59.39 kB / 0.6922 GB, free: 6.367 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.1561, allocations: 140.2 kB / 0.6923 GB, free: 6.223 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.1561, allocations: 33.7 kB / 0.6924 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.792e-05/0.1562, allocations: 104 kB / 0.6925 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.858e-05/0.1562, allocations: 27.75 kB / 0.6925 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.404e-05/0.1563, allocations: 29.7 kB / 0.6925 GB, free: 6.016 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1564, allocations: 322.8 kB / 0.6928 GB, free: 5.691 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001775/0.1566, allocations: 51.95 kB / 0.6929 GB, free: 5.641 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001654/0.1568, allocations: 63.95 kB / 0.6929 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/0.1571, allocations: 150.5 kB / 0.6931 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.1571, allocations: 0 / 0.6931 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004281/0.1575, allocations: 194.2 kB / 0.6933 GB, free: 5.223 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.582e-05/0.1576, allocations: 37.7 kB / 0.6933 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.1576, allocations: 0 / 0.6933 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1576, allocations: 0 / 0.6933 GB, free: 5.18 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000133/0.1577, allocations: 19.97 kB / 0.6933 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.1577, allocations: 0 / 0.6933 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.1579, allocations: 23.94 kB / 0.6933 GB, free: 5.137 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.879e-05/0.1579, allocations: 7.922 kB / 0.6933 GB, free: 5.129 MB / 0.5137 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.0001007/0.158, allocations: 130.2 kB / 0.6935 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.797e-05/0.158, allocations: 7.953 kB / 0.6935 GB, free: 4.984 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.377e-05/0.158, allocations: 12.72 kB / 0.6935 GB, free: 4.965 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.158, allocations: 7.984 kB / 0.6935 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.636e-06/0.158, allocations: 0 / 0.6935 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.158, allocations: 3.938 kB / 0.6935 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001774/0.1582, allocations: 201.5 kB / 0.6937 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1582, allocations: 0 / 0.6937 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001034/0.1583, allocations: 19.97 kB / 0.6937 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.1583, allocations: 0 / 0.6937 GB, free: 4.688 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.371e-05/0.1583, allocations: 8 kB / 0.6937 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.1583, allocations: 0 / 0.6937 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1583, allocations: 3.938 kB / 0.6937 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004081/0.1588, allocations: 180.9 kB / 0.6939 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.697e-05/0.1588, allocations: 93 kB / 0.694 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.079e-05/0.1588, allocations: 4 kB / 0.694 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.1589, allocations: 15.97 kB / 0.694 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.159, allocations: 15.98 kB / 0.694 GB, free: 4.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.159, allocations: 3.984 kB / 0.694 GB, free: 4.332 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.525e-05/0.1591, allocations: 113.6 kB / 0.6941 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of sort global known variables: time 6e-08/0.1591, allocations: 0 / 0.6941 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002182/0.1593, allocations: 32 kB / 0.6942 GB, free: 4.191 MB / 0.5137 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.0007584/0.1601, allocations: 0.7371 MB / 0.6949 GB, free: 3.426 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0004353/0.1605, allocations: 187.2 kB / 0.6951 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.1605, allocations: 4 kB / 0.6951 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001837/0.1607, allocations: 51.95 kB / 0.6951 GB, free: 3.176 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002052/0.1609, allocations: 24.09 kB / 0.6951 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002235/0.1631, allocations: 1.708 MB / 0.6968 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003013/0.1634, allocations: 0.7002 MB / 0.6975 GB, free: 0.6328 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.257e-05/0.1635, allocations: 19.77 kB / 0.6975 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.907e-05/0.1636, allocations: 27.42 kB / 0.6975 GB, free: 0.5859 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1636, allocations: 3.938 kB / 0.6975 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02448/0.188, allocations: 2.763 MB / 0.7002 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/7.926, allocations: 9.281 kB / 0.7002 GB, free: 13.91 MB / 0.5294 GB " [Timeout remaining time 652] (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 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_Continuous_Examples_SignalRanker.fmu > IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.085472655948251] Failed to read output from testmodel.py, exit status != 0: 7.991392723750323 8.007038435 7.851996085 Calling exit ...