Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.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.001318/0.001318, allocations: 79.86 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.001462/0.001462, allocations: 164.9 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.456/1.456, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.21/1.21, allocations: 154.6 MB / 413.8 MB, free: 5.227 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.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") translateModel(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 0.6186 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.21e-05/3.478e-05, allocations: 11.48 kB / 0.6186 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.002883/0.002918, allocations: 0.6018 MB / 0.6192 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002849/0.005767, allocations: 1.127 MB / 0.6203 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.558e-05/0.005833, allocations: 0 / 0.6203 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001344/0.005967, allocations: 7.922 kB / 0.6203 GB, free: 2.801 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.000145/0.006112, allocations: 19.86 kB / 0.6203 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007884/0.006901, allocations: 123 kB / 0.6204 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004674/0.007368, allocations: 183.7 kB / 0.6206 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001477/0.007516, allocations: 11.98 kB / 0.6206 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002841/0.0078, allocations: 107.9 kB / 0.6207 GB, free: 2.367 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00032/0.00812, allocations: 79.83 kB / 0.6208 GB, free: 2.289 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.994e-05/0.0082, allocations: 16 kB / 0.6208 GB, free: 2.273 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.008338, allocations: 27.94 kB / 0.6208 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.79e-05/0.008425, allocations: 31.95 kB / 0.6209 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000186/0.008611, allocations: 55.91 kB / 0.6209 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005744/0.009186, allocations: 235.4 kB / 0.6211 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.009191, allocations: 4 kB / 0.6211 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.009192, allocations: 0 / 0.6211 GB, free: 1.926 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.643e-06/0.009199, allocations: 0 / 0.6211 GB, free: 1.926 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009928/0.01019, allocations: 389.4 kB / 0.6215 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.01024, allocations: 8.031 kB / 0.6215 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.01035, allocations: 16.89 kB / 0.6215 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.01076, allocations: 165.3 kB / 0.6217 GB, free: 1.293 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.141e-05/0.01078, allocations: 8.375 kB / 0.6217 GB, free: 1.285 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.841e-05/0.01085, allocations: 16.31 kB / 0.6217 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002952/0.01114, allocations: 99.91 kB / 0.6218 GB, free: 1.16 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.01115, allocations: 4.188 kB / 0.6218 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.01118, allocations: 4.375 kB / 0.6218 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.01118, allocations: 384 / 0.6218 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001513/0.01133, allocations: 47.84 kB / 0.6219 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008995/0.01223, allocations: 404.6 kB / 0.6222 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001445/0.01238, allocations: 61.08 kB / 0.6223 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.01e-05/0.01246, allocations: 25.77 kB / 0.6223 GB, free: 0.5664 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.096e-05/0.01247, allocations: 4 kB / 0.6223 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002913/0.01276, allocations: 117 kB / 0.6224 GB, free: 440 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=6): time 1.934e-06/0.01276, allocations: 4 kB / 0.6225 GB, free: 436 kB / 0.5294 GB Notification: Performance of matching and sorting (n=6): time 0.000554/0.01332, allocations: 133.5 kB / 0.6226 GB, free: 296 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.648e-05/0.01341, allocations: 81.09 kB / 0.6227 GB, free: 196 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002098/0.01362, allocations: 133.8 kB / 0.6228 GB, free: 52 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.19e-05/0.01369, allocations: 33.7 kB / 0.6228 GB, free: 12 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.01386, allocations: 108 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.01389, allocations: 3.953 kB / 0.6229 GB, free: 15.9 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002054/0.0141, allocations: 57.69 kB / 0.623 GB, free: 15.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002419/0.01434, allocations: 318.8 kB / 0.6233 GB, free: 15.52 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004871/0.01483, allocations: 187.3 kB / 0.6235 GB, free: 15.32 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005378/0.01537, allocations: 232.4 kB / 0.6237 GB, free: 15.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006304/0.016, allocations: 232.3 kB / 0.6239 GB, free: 14.8 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.016, allocations: 0 / 0.6239 GB, free: 14.8 MB / 0.545 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.001339/0.01734, allocations: 456.1 kB / 0.6243 GB, free: 14.33 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001002/0.01744, allocations: 63.39 kB / 0.6244 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.01745, allocations: 7.938 kB / 0.6244 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/0.01748, allocations: 4.188 kB / 0.6244 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.461e-05/0.01751, allocations: 7.938 kB / 0.6244 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.709e-06/0.01752, allocations: 0 / 0.6244 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007039/0.01823, allocations: 75.8 kB / 0.6245 GB, free: 14.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.39e-05/0.01829, allocations: 11.98 kB / 0.6245 GB, free: 14.15 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 8 (booPul[1].y,$PRE.booPul[1].y,$whenCondition3,$whenCondition4,booPul[2].y,$PRE.booPul[2].y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 6 * 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.0002324/0.01852, allocations: 143.1 kB / 0.6246 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.873e-05/0.01855, allocations: 4 kB / 0.6246 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.33e-05/0.0186, allocations: 12 kB / 0.6247 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.01861, allocations: 3.984 kB / 0.6247 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.01862, allocations: 0 / 0.6247 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.01862, allocations: 0 / 0.6247 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002454/0.01887, allocations: 129.2 kB / 0.6248 GB, free: 13.82 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/0.01887, allocations: 4 kB / 0.6248 GB, free: 13.81 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.633e-05/0.01889, allocations: 7.984 kB / 0.6248 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.01889, allocations: 0 / 0.6248 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.01891, allocations: 0 / 0.6248 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.01891, allocations: 4 kB / 0.6248 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.01891, allocations: 4 kB / 0.6248 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000342/0.01925, allocations: 141.8 kB / 0.6249 GB, free: 13.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 2.13e-05/0.01927, allocations: 7.953 kB / 0.6249 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.0193, allocations: 0 / 0.6249 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.55e-05/0.01935, allocations: 4 kB / 0.6249 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.0194, allocations: 7.984 kB / 0.625 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.354e-05/0.01941, allocations: 4 kB / 0.625 GB, free: 13.61 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001227/0.01953, allocations: 95.27 kB / 0.625 GB, free: 13.52 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.01953, allocations: 0 / 0.625 GB, free: 13.52 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000479/0.02001, allocations: 43.92 kB / 0.6251 GB, free: 13.48 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: 6 ($whenCondition3,$whenCondition4,booPul[1].y,$whenCondition1,$whenCondition2,booPul[2].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0002292/0.02024, allocations: 103.2 kB / 0.6252 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0008989/0.02114, allocations: 366 kB / 0.6255 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.02114, allocations: 0 / 0.6255 GB, free: 12.97 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001183/0.02126, allocations: 35.91 kB / 0.6256 GB, free: 12.94 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.02167, allocations: 22.11 kB / 0.6256 GB, free: 12.92 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006491/0.02232, allocations: 202.4 kB / 0.6258 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.02246, allocations: 99 kB / 0.6259 GB, free: 12.57 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.247e-05/0.02251, allocations: 11.94 kB / 0.6259 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.02255, allocations: 12.5 kB / 0.6259 GB, free: 12.55 MB / 0.545 GB Notification: Performance of SimCode: time 5.01e-07/0.02255, allocations: 0 / 0.6259 GB, free: 12.55 MB / 0.545 GB Notification: Performance of Templates: time 0.009991/0.03254, allocations: 2.444 MB / 0.6283 GB, free: 10.18 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.797669108957052] Failed to read output from testmodel.py, exit status != 0: 0.04633760079741478 0.072576367 0.05790462800000001 Calling exit ...