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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007772/0.0007772, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007437/0.0007437, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9309/0.9309, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7442/0.7442, allocations: 154.5 MB / 413.7 MB, free: 0.832 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 2.104e-06/2.104e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.897e-05, allocations: 11.75 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002271/0.002299, allocations: 1.542 MB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009378/0.003237, allocations: 0.6154 MB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.79e-05/0.003315, allocations: 0 / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.003429, allocations: 7.875 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.607e-05/0.003485, allocations: 27.78 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005066/0.003992, allocations: 107.6 kB / 0.6202 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.004149, allocations: 95.62 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.004262, allocations: 20.22 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001931/0.004455, allocations: 67.81 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.971e-05/0.004525, allocations: 35.89 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2e-05/0.004545, allocations: 8 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001444/0.004689, allocations: 99.83 kB / 0.6206 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.156e-05/0.004741, allocations: 15.92 kB / 0.6206 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.87e-05/0.004789, allocations: 23.92 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.00501, allocations: 167.5 kB / 0.6208 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.005015, allocations: 4 kB / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.422e-06/0.005016, allocations: 0 / 0.6208 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.005021, allocations: 4 kB / 0.6208 GB, free: 10.9 MB / 0.5886 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.0006479/0.005669, allocations: 379.5 kB / 0.6211 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.005719, allocations: 9.469 kB / 0.6211 GB, free: 10.48 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.353e-05/0.005753, allocations: 42.73 kB / 0.6212 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.00594, allocations: 28.86 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002588/0.006199, allocations: 143.6 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.006214, allocations: 8.375 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.674e-05/0.006231, allocations: 8.375 kB / 0.6214 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002375/0.006469, allocations: 98.17 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.006478, allocations: 192 / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.006494, allocations: 4.125 kB / 0.6215 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.365e-05/0.006517, allocations: 7.984 kB / 0.6215 GB, free: 10.11 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.006695, allocations: 95.8 kB / 0.6216 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000544/0.007239, allocations: 311.7 kB / 0.6219 GB, free: 9.672 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001874/0.007427, allocations: 86.52 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.288e-05/0.007519, allocations: 52.88 kB / 0.622 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.007536, allocations: 0 / 0.622 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.007752, allocations: 127.2 kB / 0.6221 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.007754, allocations: 0 / 0.6221 GB, free: 9.387 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0004264/0.00818, allocations: 205.5 kB / 0.6223 GB, free: 9.18 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.566e-05/0.008226, allocations: 51.41 kB / 0.6224 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.008333, allocations: 152.8 kB / 0.6225 GB, free: 8.961 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.885e-05/0.008352, allocations: 25.7 kB / 0.6225 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.275e-05/0.008415, allocations: 96.09 kB / 0.6226 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.288e-05/0.008438, allocations: 31.73 kB / 0.6226 GB, free: 8.801 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.463e-05/0.008482, allocations: 33.77 kB / 0.6227 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 9.024e-05/0.008573, allocations: 326.8 kB / 0.623 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.008698, allocations: 81.66 kB / 0.6231 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.896e-05/0.008797, allocations: 85.66 kB / 0.6231 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001897/0.008987, allocations: 149.1 kB / 0.6233 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.00899, allocations: 0 / 0.6233 GB, free: 8.105 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002778/0.009268, allocations: 229 kB / 0.6235 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.199e-05/0.0093, allocations: 29.7 kB / 0.6235 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.009307, allocations: 0 / 0.6235 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.009325, allocations: 11.98 kB / 0.6235 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.93e-05/0.009414, allocations: 19.98 kB / 0.6236 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.00942, allocations: 0 / 0.6236 GB, free: 7.797 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.052e-05/0.009491, allocations: 19.88 kB / 0.6236 GB, free: 7.777 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.009505, allocations: 7.984 kB / 0.6236 GB, free: 7.77 MB / 0.5886 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 8.593e-05/0.009591, allocations: 126.7 kB / 0.6237 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.413e-05/0.009605, allocations: 7.953 kB / 0.6237 GB, free: 7.629 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.495e-05/0.00964, allocations: 20.77 kB / 0.6237 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.009649, allocations: 4 kB / 0.6237 GB, free: 7.598 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/0.009656, allocations: 8.469 kB / 0.6238 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.00966, allocations: 0 / 0.6238 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00013/0.00979, allocations: 164.6 kB / 0.6239 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.009792, allocations: 0 / 0.6239 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.258e-05/0.009844, allocations: 11.98 kB / 0.6239 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.009847, allocations: 7.938 kB / 0.6239 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.009857, allocations: 3.984 kB / 0.6239 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.009859, allocations: 0 / 0.6239 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.009861, allocations: 0 / 0.6239 GB, free: 7.363 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002645/0.01013, allocations: 196.8 kB / 0.6241 GB, free: 7.152 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.553e-05/0.01014, allocations: 7.938 kB / 0.6241 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.01016, allocations: 4 kB / 0.6241 GB, free: 7.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.32e-05/0.01021, allocations: 15.98 kB / 0.6241 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.01027, allocations: 11.97 kB / 0.6242 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.286e-06/0.01028, allocations: 4 kB / 0.6242 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 6.121e-05/0.01034, allocations: 115.2 kB / 0.6243 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01034, allocations: 4 kB / 0.6243 GB, free: 6.992 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.000206/0.01054, allocations: 35.94 kB / 0.6243 GB, free: 6.957 MB / 0.5886 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.0005747/0.01112, allocations: 0.7372 MB / 0.625 GB, free: 6.191 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000328/0.01145, allocations: 209 kB / 0.6252 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.01145, allocations: 0 / 0.6252 GB, free: 5.969 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000104/0.01155, allocations: 59.94 kB / 0.6253 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002005/0.01175, allocations: 17.97 kB / 0.6253 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/0.01345, allocations: 1.822 MB / 0.6271 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.58e-05/0.01352, allocations: 93.38 kB / 0.6272 GB, free: 3.848 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.318e-05/0.01358, allocations: 15.98 kB / 0.6272 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.01364, allocations: 32.48 kB / 0.6272 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of SimCode: time 1.122e-06/0.01364, allocations: 0 / 0.6272 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02303/0.03667, allocations: 3.535 MB / 0.6307 GB, free: 440 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.2/7.237, allocations: 7.812 kB / 0.6307 GB, free: 436 kB / 0.5886 GB " [Timeout remaining time 653] (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: 10.108852313831449] Failed to read output from testmodel.py, exit status != 0: 7.3204040648415685 7.336232831 7.32848206 Calling exit ...