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.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.000806/0.000806, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007803/0.0007803, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.948/0.948, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7483/0.7483, allocations: 154.6 MB / 413.8 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_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 1.553e-06/1.553e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.894e-05/2.049e-05, allocations: 4.812 kB / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.00202/0.00204, allocations: 1.557 MB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008439/0.002884, allocations: 0.6077 MB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.441e-05/0.002959, allocations: 3.938 kB / 0.6202 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.00307, allocations: 11.92 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.585e-05/0.003116, allocations: 23.75 kB / 0.6202 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004798/0.003595, allocations: 107.7 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001687/0.003764, allocations: 95.64 kB / 0.6204 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000133/0.003897, allocations: 16.2 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002078/0.004105, allocations: 67.77 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.493e-05/0.00419, allocations: 39.88 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.236e-05/0.004212, allocations: 4 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001651/0.004377, allocations: 103.8 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.904e-05/0.004436, allocations: 15.92 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.47e-05/0.004491, allocations: 23.97 kB / 0.6207 GB, free: 11 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002447/0.004736, allocations: 175.4 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.004738, allocations: 0 / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.513e-06/0.00474, allocations: 0 / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 7.855e-06/0.004748, allocations: 0 / 0.6208 GB, free: 10.82 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.0007035/0.005451, allocations: 385.7 kB / 0.6212 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.073e-05/0.005502, allocations: 16.03 kB / 0.6212 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.782e-05/0.00554, allocations: 34.75 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001997/0.005739, allocations: 32.86 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002306/0.00597, allocations: 129.6 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.005984, allocations: 8.359 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.73e-05/0.006002, allocations: 8.359 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000245/0.006247, allocations: 106.1 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.006258, allocations: 192 / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.573e-05/0.006274, allocations: 20.05 kB / 0.6215 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.711e-05/0.006301, allocations: 4 kB / 0.6215 GB, free: 10.02 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.006472, allocations: 83.92 kB / 0.6216 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004817/0.006954, allocations: 311.7 kB / 0.6219 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.007128, allocations: 86.52 kB / 0.622 GB, free: 9.5 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.019e-05/0.007218, allocations: 52.88 kB / 0.6221 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.007232, allocations: 4 kB / 0.6221 GB, free: 9.441 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001988/0.007431, allocations: 111.3 kB / 0.6222 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.243e-06/0.007433, allocations: 0 / 0.6222 GB, free: 9.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0004001/0.007833, allocations: 213.5 kB / 0.6224 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.677e-05/0.007869, allocations: 51.41 kB / 0.6224 GB, free: 9.043 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.616e-05/0.007966, allocations: 152.6 kB / 0.6226 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.007981, allocations: 25.7 kB / 0.6226 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.323e-05/0.008045, allocations: 104 kB / 0.6227 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.008066, allocations: 27.75 kB / 0.6227 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.671e-05/0.008113, allocations: 29.7 kB / 0.6227 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001061/0.008219, allocations: 330.8 kB / 0.6231 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001321/0.008351, allocations: 85.66 kB / 0.6231 GB, free: 8.266 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001003/0.008451, allocations: 81.66 kB / 0.6232 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000199/0.00865, allocations: 141.5 kB / 0.6233 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.008654, allocations: 0 / 0.6233 GB, free: 8.035 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002944/0.008948, allocations: 236.9 kB / 0.6236 GB, free: 7.785 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.89e-05/0.008987, allocations: 37.69 kB / 0.6236 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.008994, allocations: 0 / 0.6236 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.009011, allocations: 0 / 0.6236 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.584e-05/0.009106, allocations: 19.98 kB / 0.6236 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.009116, allocations: 480 / 0.6236 GB, free: 7.723 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.33e-05/0.009189, allocations: 31.86 kB / 0.6237 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.731e-05/0.009206, allocations: 0 / 0.6237 GB, free: 7.691 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 9.626e-05/0.009303, allocations: 130.7 kB / 0.6238 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.391e-05/0.009317, allocations: 7.953 kB / 0.6238 GB, free: 7.547 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.00935, allocations: 20.77 kB / 0.6238 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.009361, allocations: 4 kB / 0.6238 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.009369, allocations: 0 / 0.6238 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.009376, allocations: 3.984 kB / 0.6238 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001556/0.009531, allocations: 168.6 kB / 0.624 GB, free: 7.309 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.009533, allocations: 3.938 kB / 0.624 GB, free: 7.305 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.977e-05/0.009583, allocations: 19.98 kB / 0.624 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.009584, allocations: 0 / 0.624 GB, free: 7.285 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.009595, allocations: 3.984 kB / 0.624 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.009597, allocations: 0 / 0.624 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.009598, allocations: 0 / 0.624 GB, free: 7.281 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.009856, allocations: 188.9 kB / 0.6242 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.528e-05/0.009871, allocations: 7.953 kB / 0.6242 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.935e-05/0.00989, allocations: 4 kB / 0.6242 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.187e-05/0.009942, allocations: 23.91 kB / 0.6242 GB, free: 7.043 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.582e-05/0.009998, allocations: 7.984 kB / 0.6242 GB, free: 7.035 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.01, allocations: 4 kB / 0.6242 GB, free: 7.031 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.822e-05/0.01006, allocations: 115.2 kB / 0.6243 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01006, allocations: 0 / 0.6243 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001922/0.01026, allocations: 39.92 kB / 0.6244 GB, free: 6.879 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.0004933/0.01075, allocations: 0.7372 MB / 0.6251 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002908/0.01104, allocations: 201 kB / 0.6253 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.01104, allocations: 192 / 0.6253 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001283/0.01117, allocations: 63.88 kB / 0.6254 GB, free: 5.836 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001557/0.01133, allocations: 19.88 kB / 0.6254 GB, free: 5.816 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002472/0.0138, allocations: 1.818 MB / 0.6271 GB, free: 3.883 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.233e-05/0.01388, allocations: 85.44 kB / 0.6272 GB, free: 3.777 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 6.861e-05/0.01395, allocations: 11.98 kB / 0.6272 GB, free: 3.766 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.422e-05/0.01402, allocations: 32.48 kB / 0.6273 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of SimCode: time 1.332e-06/0.01402, allocations: 0 / 0.6273 GB, free: 3.734 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.03375, allocations: 3.534 MB / 0.6307 GB, free: 380 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.994/7.028, allocations: 6.125 kB / 0.6307 GB, free: 376 kB / 0.5886 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.Continuous.Examples.SignalRanker_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 10.014943134970963] Failed to read output from testmodel.py, exit status != 0: 7.109601725824177 7.1182061469999995 7.1118176669999995 Calling exit ...