Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.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.00129/0.00129, allocations: 84.12 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001448/0.001448, allocations: 168.3 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.475/1.475, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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 1.241/1.241, allocations: 154.6 MB / 413.8 MB, free: 5.223 MB / 382.1 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 178] 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: translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.206e-06/3.206e-06, allocations: 0 / 0.6186 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.255e-05, allocations: 5.531 kB / 0.6186 GB, free: 4.547 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal): time 0.00219/0.002222, allocations: 0.83 MB / 0.6194 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002186/0.004409, allocations: 1.322 MB / 0.6207 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.241e-05/0.004501, allocations: 0 / 0.6207 GB, free: 2.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.004617, allocations: 20.52 kB / 0.6207 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001066/0.004724, allocations: 27.73 kB / 0.6207 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008629/0.005586, allocations: 267.8 kB / 0.621 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004848/0.006071, allocations: 336.4 kB / 0.6213 GB, free: 1.766 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001705/0.006242, allocations: 45.64 kB / 0.6213 GB, free: 1.715 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.006564, allocations: 189.5 kB / 0.6215 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.006779, allocations: 83.81 kB / 0.6216 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.256e-05/0.006852, allocations: 28 kB / 0.6216 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000153/0.007005, allocations: 51.86 kB / 0.6217 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001062/0.007111, allocations: 43.84 kB / 0.6217 GB, free: 1.328 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000205/0.007316, allocations: 92.52 kB / 0.6218 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006373/0.007953, allocations: 383 kB / 0.6222 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.007957, allocations: 2.562 kB / 0.6222 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.182e-06/0.007959, allocations: 0 / 0.6222 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.02e-05/0.007969, allocations: 3.938 kB / 0.6222 GB, free: 0.8594 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 26 * Number of variables: 26 Notification: Performance of Generate backend data structure: time 0.0008676/0.008836, allocations: 492.6 kB / 0.6227 GB, free: 340 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.00887, allocations: 8.031 kB / 0.6227 GB, free: 332 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003873/0.009258, allocations: 68.77 kB / 0.6227 GB, free: 264 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006824/0.00994, allocations: 245.9 kB / 0.623 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.652e-05/0.009967, allocations: 12.31 kB / 0.623 GB, free: 15.98 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.27e-05/0.01002, allocations: 20.38 kB / 0.623 GB, free: 15.96 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000264/0.01028, allocations: 153.9 kB / 0.6231 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.0103, allocations: 192 / 0.6231 GB, free: 15.8 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.7e-05/0.01031, allocations: 4.375 kB / 0.6231 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.126e-05/0.01032, allocations: 8.125 kB / 0.6232 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001388/0.01046, allocations: 71.89 kB / 0.6232 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008441/0.01131, allocations: 0.645 MB / 0.6239 GB, free: 15.03 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000114/0.01142, allocations: 57.23 kB / 0.6239 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.521e-05/0.01147, allocations: 25.77 kB / 0.6239 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.336e-06/0.01147, allocations: 0 / 0.6239 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.01171, allocations: 105 kB / 0.624 GB, free: 14.8 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.01171, allocations: 0 / 0.624 GB, free: 14.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.0003347/0.01205, allocations: 129.5 kB / 0.6242 GB, free: 14.67 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.01212, allocations: 81.11 kB / 0.6242 GB, free: 14.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002517/0.01237, allocations: 216.8 kB / 0.6244 GB, free: 14.35 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.467e-05/0.01241, allocations: 29.7 kB / 0.6245 GB, free: 14.31 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001503/0.01256, allocations: 144.2 kB / 0.6246 GB, free: 14.17 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.131e-05/0.01258, allocations: 19.89 kB / 0.6246 GB, free: 14.15 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000127/0.01271, allocations: 61.67 kB / 0.6247 GB, free: 14.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.01287, allocations: 330.8 kB / 0.625 GB, free: 13.75 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000209/0.01308, allocations: 127.4 kB / 0.6251 GB, free: 13.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002821/0.01336, allocations: 247.3 kB / 0.6254 GB, free: 13.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.01363, allocations: 198.2 kB / 0.6255 GB, free: 13.09 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.01363, allocations: 0 / 0.6255 GB, free: 13.09 MB / 0.545 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006026/0.01424, allocations: 360.1 kB / 0.6259 GB, free: 12.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.202e-05/0.0143, allocations: 71.34 kB / 0.626 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.01431, allocations: 4 kB / 0.626 GB, free: 12.62 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.532e-05/0.01435, allocations: 12.17 kB / 0.626 GB, free: 12.61 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.507e-05/0.01441, allocations: 8 kB / 0.626 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.01442, allocations: 3.938 kB / 0.626 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.01478, allocations: 59.83 kB / 0.626 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/0.01482, allocations: 15.98 kB / 0.6261 GB, free: 12.52 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,intPul.booPul.y,$PRE.intPul.booPul.y,extIntSig1.y[4],$whenCondition1,$whenCondition2,intPul1.booPul.y,$PRE.intPul1.booPul.y,extIntSig1.y[5],conInt3.y,conInt2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001918/0.01501, allocations: 141.8 kB / 0.6262 GB, free: 12.37 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.23e-05/0.01504, allocations: 24.31 kB / 0.6262 GB, free: 12.35 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.015e-05/0.01508, allocations: 17.02 kB / 0.6262 GB, free: 12.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.01509, allocations: 4 kB / 0.6262 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.0151, allocations: 0 / 0.6262 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.0151, allocations: 3.984 kB / 0.6262 GB, free: 12.33 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.0153, allocations: 157.3 kB / 0.6264 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.0153, allocations: 0 / 0.6264 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.01532, allocations: 7.938 kB / 0.6264 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.01533, allocations: 4 kB / 0.6264 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.01534, allocations: 11.88 kB / 0.6264 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.01534, allocations: 4 kB / 0.6264 GB, free: 12.12 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.267e-06/0.01535, allocations: 4 kB / 0.6264 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001998/0.01555, allocations: 129.9 kB / 0.6265 GB, free: 11.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.092e-05/0.01558, allocations: 19.83 kB / 0.6266 GB, free: 11.95 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.337e-05/0.0156, allocations: 3.938 kB / 0.6266 GB, free: 11.94 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.686e-05/0.01564, allocations: 8 kB / 0.6266 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.326e-05/0.01567, allocations: 3.984 kB / 0.6266 GB, free: 11.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.01568, allocations: 4 kB / 0.6266 GB, free: 11.93 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001522/0.01583, allocations: 149.5 kB / 0.6267 GB, free: 11.78 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01583, allocations: 0 / 0.6267 GB, free: 11.78 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002848/0.01611, allocations: 39.95 kB / 0.6268 GB, free: 11.74 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition3,$whenCondition4,extIntSig1.y[4],intPul.booPul.y,$whenCondition1,$whenCondition2,extIntSig1.y[5],intPul1.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * 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.0001907/0.0163, allocations: 123 kB / 0.6269 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00046/0.01676, allocations: 294.1 kB / 0.6272 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01677, allocations: 0 / 0.6272 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.356e-05/0.01683, allocations: 31.92 kB / 0.6272 GB, free: 11.25 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.01714, allocations: 35.41 kB / 0.6272 GB, free: 11.22 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005991/0.01774, allocations: 299.2 kB / 0.6275 GB, free: 10.9 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.01787, allocations: 119.6 kB / 0.6276 GB, free: 10.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 7.544e-05/0.01795, allocations: 29.47 kB / 0.6276 GB, free: 10.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.638e-05/0.01798, allocations: 16.5 kB / 0.6277 GB, free: 10.72 MB / 0.545 GB Notification: Performance of SimCode: time 6.01e-07/0.01798, allocations: 0 / 0.6277 GB, free: 10.72 MB / 0.545 GB Notification: Performance of Templates: time 0.006869/0.02485, allocations: 2.639 MB / 0.6302 GB, free: 8.172 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerExtractSignal.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.745056543499231] Failed to read output from testmodel.py, exit status != 0: 0.03421138599514961 0.050829077 0.039398567 Calling exit ...