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.0008207/0.0008207, 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.0007828/0.0007828, allocations: 169.9 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.9145/0.9145, allocations: 177.2 MB / 202.8 MB, free: 5.727 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.7425/0.7425, allocations: 154.6 MB / 413.8 MB, free: 0.7812 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 2.464e-06/2.464e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.58e-05, allocations: 4.953 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.SignalRanker): time 0.002798/0.002824, allocations: 1.54 MB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001054/0.003878, allocations: 0.6193 MB / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.325e-05/0.003952, allocations: 0 / 0.6202 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.004063, allocations: 15.86 kB / 0.6202 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 4.567e-05/0.004108, allocations: 15.81 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004642/0.004572, allocations: 111.6 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000151/0.004723, allocations: 111.6 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.004828, allocations: 4.234 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.005002, allocations: 67.86 kB / 0.6205 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.062e-05/0.005073, allocations: 39.89 kB / 0.6205 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.005093, allocations: 8 kB / 0.6205 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.00522, allocations: 95.78 kB / 0.6206 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.48e-05/0.005265, allocations: 15.92 kB / 0.6206 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.716e-05/0.005312, allocations: 31.89 kB / 0.6207 GB, free: 11.03 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002197/0.005532, allocations: 171.5 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.005535, allocations: 0 / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.485e-06/0.005538, allocations: 4 kB / 0.6208 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.98e-06/0.005543, allocations: 0 / 0.6208 GB, free: 10.86 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.0005976/0.00614, allocations: 379.5 kB / 0.6212 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.00618, allocations: 12.03 kB / 0.6212 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.96e-05/0.00621, allocations: 34.75 kB / 0.6212 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.006389, allocations: 32.86 kB / 0.6213 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002263/0.006616, allocations: 140.1 kB / 0.6214 GB, free: 10.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.006628, allocations: 12.36 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.006643, allocations: 8.375 kB / 0.6214 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.006854, allocations: 105.3 kB / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.006862, allocations: 192 / 0.6215 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.006873, allocations: 8.125 kB / 0.6215 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.081e-05/0.006894, allocations: 8 kB / 0.6215 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000164/0.007058, allocations: 95.78 kB / 0.6216 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004682/0.007526, allocations: 303.8 kB / 0.6219 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001722/0.007698, allocations: 86.5 kB / 0.622 GB, free: 9.535 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.699e-05/0.007785, allocations: 52.88 kB / 0.6221 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.007801, allocations: 11.94 kB / 0.6221 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001919/0.007992, allocations: 107.3 kB / 0.6222 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=9): time 1.824e-06/0.007994, allocations: 0 / 0.6222 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of matching and sorting (n=9): time 0.0003954/0.00839, allocations: 213.4 kB / 0.6224 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.904e-05/0.008429, allocations: 51.41 kB / 0.6224 GB, free: 9.074 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.008533, allocations: 152.6 kB / 0.6226 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.008548, allocations: 25.78 kB / 0.6226 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.008607, allocations: 108.1 kB / 0.6227 GB, free: 8.777 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/0.008626, allocations: 31.73 kB / 0.6227 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.201e-05/0.008668, allocations: 21.72 kB / 0.6227 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.453e-05/0.008752, allocations: 326.8 kB / 0.6231 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.008878, allocations: 89.64 kB / 0.6231 GB, free: 8.297 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.501e-05/0.008973, allocations: 81.66 kB / 0.6232 GB, free: 8.211 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.009158, allocations: 150.4 kB / 0.6234 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.00916, allocations: 0 / 0.6234 GB, free: 8.055 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002582/0.009418, allocations: 225 kB / 0.6236 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 3.196e-05/0.00945, allocations: 37.7 kB / 0.6236 GB, free: 7.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.009458, allocations: 4 kB / 0.6236 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.009473, allocations: 0 / 0.6236 GB, free: 7.77 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.009556, allocations: 19.97 kB / 0.6236 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.009562, allocations: 0 / 0.6236 GB, free: 7.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.586e-05/0.009628, allocations: 19.94 kB / 0.6237 GB, free: 7.73 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.789e-06/0.009637, allocations: 3.938 kB / 0.6237 GB, free: 7.727 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 7.818e-05/0.009716, allocations: 126.8 kB / 0.6238 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.285e-05/0.009728, allocations: 7.953 kB / 0.6238 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.702e-05/0.009755, allocations: 20.78 kB / 0.6238 GB, free: 7.562 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/0.009767, allocations: 4 kB / 0.6238 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.009771, allocations: 0 / 0.6238 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.009776, allocations: 3.984 kB / 0.6238 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.009904, allocations: 168.5 kB / 0.624 GB, free: 7.348 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.009906, allocations: 4 kB / 0.624 GB, free: 7.344 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.359e-05/0.00996, allocations: 19.97 kB / 0.624 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.009962, allocations: 0 / 0.624 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.515e-06/0.00997, allocations: 0 / 0.624 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.009971, allocations: 0 / 0.624 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.009972, allocations: 0 / 0.624 GB, free: 7.324 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005024/0.01047, allocations: 197.3 kB / 0.6242 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.478e-05/0.01049, allocations: 7.953 kB / 0.6242 GB, free: 7.105 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.762e-05/0.01051, allocations: 7.984 kB / 0.6242 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5e-05/0.01056, allocations: 11.98 kB / 0.6242 GB, free: 7.086 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.0106, allocations: 7.984 kB / 0.6242 GB, free: 7.078 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.074e-05/0.01061, allocations: 11.98 kB / 0.6242 GB, free: 7.066 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.275e-05/0.01066, allocations: 111.2 kB / 0.6243 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.01066, allocations: 0 / 0.6243 GB, free: 6.957 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001973/0.01086, allocations: 35.94 kB / 0.6244 GB, free: 6.922 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.00049/0.01135, allocations: 0.7411 MB / 0.6251 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002883/0.01164, allocations: 212.9 kB / 0.6253 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.01164, allocations: 0 / 0.6253 GB, free: 5.926 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.616e-05/0.01174, allocations: 55.95 kB / 0.6253 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.0119, allocations: 15.92 kB / 0.6254 GB, free: 5.855 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001518/0.01342, allocations: 1.821 MB / 0.6271 GB, free: 3.922 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.287e-05/0.01347, allocations: 81.45 kB / 0.6272 GB, free: 3.82 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.939e-05/0.01353, allocations: 19.97 kB / 0.6272 GB, free: 3.801 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.15e-05/0.01358, allocations: 32.48 kB / 0.6273 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of SimCode: time 6.82e-07/0.01358, allocations: 0 / 0.6273 GB, free: 3.77 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.02953, allocations: 3.526 MB / 0.6307 GB, free: 420 kB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.639/6.668, allocations: 3.062 kB / 0.6307 GB, free: 420 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 & /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: 9.42865935806185] Failed to read output from testmodel.py, exit status != 0: 6.750025146640837 6.7594516890000005 6.752113052 Calling exit ...