Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.0007221/0.0007221, allocations: 100.4 kB / 19.7 MB, free: 452 kB / 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.0007288/0.0007288, allocations: 212.1 kB / 23 MB, free: 2.98 MB / 13.93 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.8788/0.8788, allocations: 230.6 MB / 256.8 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7195/0.7195, allocations: 203.8 MB / 0.5049 GB, free: 10.48 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_dev_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_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008886/0.0008886, allocations: 62.62 kB / 0.7194 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4349/0.4358, allocations: 102 MB / 0.819 GB, free: 1.352 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001246/0.437, allocations: 0.6286 MB / 0.8196 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009152/0.438, allocations: 1.14 MB / 0.8207 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.085e-05/0.438, allocations: 1.375 kB / 0.8207 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.745e-05/0.4381, allocations: 5.297 kB / 0.8207 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.932e-05/0.4382, allocations: 7.078 kB / 0.8207 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003278/0.4385, allocations: 125.9 kB / 0.8209 GB, free: 68 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002174/0.4387, allocations: 184.6 kB / 0.821 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.4388, allocations: 16.81 kB / 0.8211 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.807e-05/0.4389, allocations: 76.77 kB / 0.8211 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.4391, allocations: 85.86 kB / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.5e-05/0.4391, allocations: 13.84 kB / 0.8212 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.722e-05/0.4391, allocations: 28.12 kB / 0.8212 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.4392, allocations: 24.78 kB / 0.8213 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.597e-05/0.4393, allocations: 61.36 kB / 0.8213 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002282/0.4395, allocations: 202.5 kB / 0.8215 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.4395, allocations: 0 / 0.8215 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4395, allocations: 0 / 0.8215 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.4395, allocations: 4 kB / 0.8215 GB, free: 15.82 MB / 0.6198 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.0004635/0.44, allocations: 384 kB / 0.8219 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.44, allocations: 10.25 kB / 0.8219 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/0.4401, allocations: 19.89 kB / 0.8219 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001867/0.4402, allocations: 155.7 kB / 0.8221 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.4403, allocations: 5.406 kB / 0.8221 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.188e-05/0.4403, allocations: 16.48 kB / 0.8221 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.4404, allocations: 97.48 kB / 0.8222 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.4404, allocations: 192 / 0.8222 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.4405, allocations: 6.141 kB / 0.8222 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.4405, allocations: 5.406 kB / 0.8222 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.35e-05/0.4405, allocations: 43.78 kB / 0.8222 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003828/0.4409, allocations: 419.9 kB / 0.8226 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 6.626e-05/0.441, allocations: 55.11 kB / 0.8227 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.441, allocations: 29.03 kB / 0.8227 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 8.355e-06/0.441, allocations: 1.219 kB / 0.8227 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.4411, allocations: 112.8 kB / 0.8228 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=6): time 1.743e-06/0.4411, allocations: 0 / 0.8228 GB, free: 14.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=6): time 0.0002219/0.4413, allocations: 141.9 kB / 0.823 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.4414, allocations: 80.53 kB / 0.823 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.08e-05/0.4415, allocations: 136.8 kB / 0.8232 GB, free: 14.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.4415, allocations: 36.2 kB / 0.8232 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.4416, allocations: 98.73 kB / 0.8233 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.286e-05/0.4416, allocations: 12.78 kB / 0.8233 GB, free: 14.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.973e-05/0.4416, allocations: 52.14 kB / 0.8234 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.332e-05/0.4417, allocations: 324.5 kB / 0.8237 GB, free: 14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001926/0.4419, allocations: 191.5 kB / 0.8239 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.4421, allocations: 227.1 kB / 0.8241 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001954/0.4423, allocations: 227.7 kB / 0.8243 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.4423, allocations: 0 / 0.8243 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004637/0.4427, allocations: 457.7 kB / 0.8247 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.315e-05/0.4428, allocations: 64.38 kB / 0.8248 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.4428, allocations: 2.016 kB / 0.8248 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.4428, allocations: 1.344 kB / 0.8248 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.828e-05/0.4428, allocations: 7.375 kB / 0.8248 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.4428, allocations: 1.906 kB / 0.8248 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002336/0.4431, allocations: 63.58 kB / 0.8249 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.4431, allocations: 11.69 kB / 0.8249 GB, free: 13.28 MB / 0.6198 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 8.9e-05/0.4432, allocations: 144.3 kB / 0.825 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.26e-05/0.4432, allocations: 11.53 kB / 0.825 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.971e-05/0.4432, allocations: 11.08 kB / 0.825 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.4432, allocations: 1.703 kB / 0.825 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.4432, allocations: 1.375 kB / 0.825 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.4432, allocations: 0.7969 kB / 0.825 GB, free: 13.13 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.084e-05/0.4433, allocations: 128.5 kB / 0.8252 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4433, allocations: 0 / 0.8252 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.301e-06/0.4433, allocations: 3.094 kB / 0.8252 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.4433, allocations: 0 / 0.8252 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.4433, allocations: 3.266 kB / 0.8252 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4433, allocations: 0.75 kB / 0.8252 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.4433, allocations: 1.438 kB / 0.8252 GB, free: 13 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.4435, allocations: 151 kB / 0.8253 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-06/0.4435, allocations: 6.016 kB / 0.8253 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.4435, allocations: 2.109 kB / 0.8253 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.735e-05/0.4435, allocations: 5.984 kB / 0.8253 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.492e-05/0.4435, allocations: 10.7 kB / 0.8253 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.4436, allocations: 3.047 kB / 0.8253 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.086e-05/0.4436, allocations: 101.3 kB / 0.8254 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.4436, allocations: 0 / 0.8254 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001763/0.4438, allocations: 31.98 kB / 0.8255 GB, free: 12.8 MB / 0.6198 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.00014/0.4439, allocations: 113.9 kB / 0.8256 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003716/0.4443, allocations: 372.2 kB / 0.8259 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.4443, allocations: 0 / 0.8259 GB, free: 12.45 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 5.6e-05/0.4443, allocations: 44.77 kB / 0.826 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.4445, allocations: 14.28 kB / 0.826 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.4449, allocations: 239.4 kB / 0.8262 GB, free: 12.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.009e-05/0.4449, allocations: 92.36 kB / 0.8263 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.731e-05/0.4449, allocations: 12.05 kB / 0.8263 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of SimCode: time 2.7e-07/0.4449, allocations: 0 / 0.8263 GB, free: 12.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.002753/0.4477, allocations: 1.788 MB / 0.8281 GB, free: 12.02 MB / 0.6198 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.sim & ./IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.515793443657458] Failed to read output from testmodel.py, exit status != 0: 0.4527965080924332 0.46265080000000003 0.021285136 Calling exit ...