Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.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.0007333/0.0007333, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007461/0.0007461, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8379/0.8379, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.6905/0.6905, allocations: 154.6 MB / 414.5 MB, free: 0.8125 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: translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.957e-05/2.13e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.15 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator): time 0.001125/0.001146, allocations: 0.6172 MB / 0.6199 GB, free: 12.53 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.002205, allocations: 1.135 MB / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.367e-05/0.002248, allocations: 0 / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.441e-05/0.002343, allocations: 3.984 kB / 0.621 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.094e-05/0.002364, allocations: 7.922 kB / 0.621 GB, free: 11.37 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.002739, allocations: 129.1 kB / 0.6212 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.002868, allocations: 91.77 kB / 0.6213 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 7.999e-05/0.002948, allocations: 7.938 kB / 0.6213 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.497e-05/0.003013, allocations: 51.95 kB / 0.6213 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.425e-05/0.003097, allocations: 27.89 kB / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.003115, allocations: 8 kB / 0.6213 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 5.1e-05/0.003166, allocations: 19.97 kB / 0.6214 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.163e-05/0.003217, allocations: 8 kB / 0.6214 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.00327, allocations: 31.91 kB / 0.6214 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0003996/0.00367, allocations: 103.8 kB / 0.6215 GB, free: 10.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.003672, allocations: 4 kB / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of FrontEnd: time 9.52e-07/0.003673, allocations: 0 / 0.6215 GB, free: 10.9 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.003677, allocations: 0 / 0.6215 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000351/0.004028, allocations: 304 kB / 0.6218 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.004062, allocations: 8.031 kB / 0.6218 GB, free: 10.56 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.849e-05/0.0041, allocations: 4.938 kB / 0.6218 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.004244, allocations: 129.7 kB / 0.6219 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.004255, allocations: 384 / 0.6219 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.451e-05/0.004269, allocations: 12.31 kB / 0.6219 GB, free: 10.39 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.684e-05/0.004356, allocations: 50.19 kB / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.004364, allocations: 192 / 0.622 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.004372, allocations: 4.375 kB / 0.622 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.004376, allocations: 384 / 0.622 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.442e-05/0.0044, allocations: 15.92 kB / 0.622 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002419/0.004642, allocations: 228.6 kB / 0.6222 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.792e-05/0.00468, allocations: 26.5 kB / 0.6223 GB, free: 10.03 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.498e-05/0.004695, allocations: 12.92 kB / 0.6223 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.064e-06/0.004702, allocations: 0 / 0.6223 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.482e-05/0.004797, allocations: 63.33 kB / 0.6223 GB, free: 9.938 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=3): time 1.363e-06/0.004798, allocations: 3.984 kB / 0.6223 GB, free: 9.934 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0001562/0.004954, allocations: 69.58 kB / 0.6224 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.165e-05/0.004986, allocations: 59.41 kB / 0.6225 GB, free: 9.789 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.494e-05/0.005041, allocations: 105.8 kB / 0.6226 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.337e-05/0.005054, allocations: 29.7 kB / 0.6226 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.517e-05/0.00509, allocations: 92.09 kB / 0.6227 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-06/0.005096, allocations: 0 / 0.6227 GB, free: 9.547 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.189e-05/0.005138, allocations: 33.69 kB / 0.6227 GB, free: 9.508 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.726e-05/0.005216, allocations: 314.8 kB / 0.623 GB, free: 9.191 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.005279, allocations: 57.69 kB / 0.6231 GB, free: 9.129 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.177e-05/0.005341, allocations: 80.25 kB / 0.6231 GB, free: 9.035 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.069e-05/0.005412, allocations: 88.2 kB / 0.6232 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.005414, allocations: 0 / 0.6232 GB, free: 8.934 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000166/0.00558, allocations: 180.8 kB / 0.6234 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.723e-05/0.005607, allocations: 41.69 kB / 0.6234 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.005612, allocations: 0 / 0.6234 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.005623, allocations: 320 / 0.6234 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.343e-05/0.005636, allocations: 4 kB / 0.6234 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.00564, allocations: 0 / 0.6234 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.005768, allocations: 32.06 kB / 0.6235 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.312e-05/0.005781, allocations: 7.984 kB / 0.6235 GB, free: 8.648 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * 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 6.218e-05/0.005843, allocations: 118.8 kB / 0.6236 GB, free: 8.523 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.601e-06/0.005849, allocations: 7.875 kB / 0.6236 GB, free: 8.516 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.84e-05/0.005867, allocations: 4 kB / 0.6236 GB, free: 8.508 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-06/0.005869, allocations: 4 kB / 0.6236 GB, free: 8.504 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.005873, allocations: 3.938 kB / 0.6236 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.005875, allocations: 0 / 0.6236 GB, free: 8.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.351e-05/0.005939, allocations: 117.2 kB / 0.6237 GB, free: 8.355 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.00594, allocations: 4 kB / 0.6237 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.416e-06/0.005943, allocations: 4 kB / 0.6237 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.005946, allocations: 3.938 kB / 0.6237 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.005953, allocations: 7.984 kB / 0.6237 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.005954, allocations: 0 / 0.6237 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.005955, allocations: 0 / 0.6237 GB, free: 8.336 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.71e-05/0.006022, allocations: 73.12 kB / 0.6238 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-06/0.006027, allocations: 0 / 0.6238 GB, free: 8.246 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.095e-05/0.006037, allocations: 11.94 kB / 0.6238 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.687e-06/0.006046, allocations: 0 / 0.6238 GB, free: 8.234 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.279e-05/0.006069, allocations: 3.984 kB / 0.6238 GB, free: 8.23 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.08e-05/0.00608, allocations: 4 kB / 0.6238 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.608e-05/0.006106, allocations: 87.22 kB / 0.6239 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006106, allocations: 0 / 0.6239 GB, free: 8.141 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001387/0.006245, allocations: 20 kB / 0.6239 GB, free: 8.121 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,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001121/0.006357, allocations: 99.23 kB / 0.624 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001516/0.006508, allocations: 133.1 kB / 0.6242 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.00651, allocations: 0 / 0.6242 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.12e-05/0.006531, allocations: 15.92 kB / 0.6242 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.006679, allocations: 10.59 kB / 0.6242 GB, free: 7.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00023/0.006909, allocations: 154.5 kB / 0.6243 GB, free: 7.656 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.286e-05/0.006952, allocations: 71.3 kB / 0.6244 GB, free: 7.566 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.449e-05/0.006966, allocations: 8.5 kB / 0.6244 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of SimCode: time 3.7e-07/0.006967, allocations: 3.938 kB / 0.6244 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of Templates: time 0.001695/0.008661, allocations: 0.9319 MB / 0.6253 GB, free: 6.641 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanScalarReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.951501636765897] Failed to read output from testmodel.py, exit status != 0: 0.012990783900022507 0.02092598 0.015669358 Calling exit ...