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.001146/0.001146, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001275/0.001275, allocations: 165.9 kB / 22.45 MB, free: 2.113 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.882/0.882, allocations: 177.1 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.7384/0.7384, allocations: 154.6 MB / 413.7 MB, free: 0.7891 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.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 3.938 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.431e-05/1.646e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.00118/0.001196, allocations: 0.6106 MB / 0.6187 GB, free: 13.05 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.002349, allocations: 1.143 MB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.43e-05/0.002413, allocations: 3.938 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.853e-05/0.002512, allocations: 0 / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001008/0.002612, allocations: 15.86 kB / 0.6198 GB, free: 11.88 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003783/0.002991, allocations: 120.5 kB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002029/0.003194, allocations: 191.7 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.003298, allocations: 11.98 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001028/0.003401, allocations: 111.8 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001401/0.003541, allocations: 75.84 kB / 0.6203 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.226e-05/0.003573, allocations: 16 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.421e-05/0.003638, allocations: 27.98 kB / 0.6204 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.946e-05/0.003687, allocations: 19.98 kB / 0.6204 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.97e-05/0.003757, allocations: 59.88 kB / 0.6204 GB, free: 11.26 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.003971, allocations: 227.5 kB / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.003973, allocations: 0 / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.122e-06/0.003974, allocations: 0 / 0.6206 GB, free: 11.04 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.003978, allocations: 4 kB / 0.6207 GB, free: 11.03 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000439/0.004417, allocations: 381.4 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.004457, allocations: 8.031 kB / 0.621 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.136e-05/0.004489, allocations: 46.73 kB / 0.6211 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.409e-05/0.004533, allocations: 12.89 kB / 0.6211 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.00472, allocations: 165.6 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.004735, allocations: 12.36 kB / 0.6212 GB, free: 10.34 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.004758, allocations: 12.38 kB / 0.6213 GB, free: 10.33 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001367/0.004895, allocations: 95.92 kB / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.004904, allocations: 192 / 0.6214 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.004913, allocations: 8.375 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.004918, allocations: 4.125 kB / 0.6214 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.018e-05/0.004969, allocations: 43.91 kB / 0.6214 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003991/0.005368, allocations: 435.9 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.012e-05/0.005428, allocations: 61.14 kB / 0.6219 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.655e-05/0.005454, allocations: 29.77 kB / 0.6219 GB, free: 9.582 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.005461, allocations: 7.922 kB / 0.6219 GB, free: 9.574 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001292/0.005591, allocations: 105.1 kB / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.005592, allocations: 0 / 0.622 GB, free: 9.453 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002186/0.00581, allocations: 145.5 kB / 0.6222 GB, free: 9.305 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.082e-05/0.005851, allocations: 81.11 kB / 0.6222 GB, free: 9.207 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.274e-05/0.005934, allocations: 133.8 kB / 0.6224 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.202e-05/0.005956, allocations: 29.7 kB / 0.6224 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.424e-05/0.00601, allocations: 112 kB / 0.6225 GB, free: 8.918 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.107e-05/0.006021, allocations: 7.953 kB / 0.6225 GB, free: 8.91 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-05/0.006085, allocations: 49.69 kB / 0.6226 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.698e-05/0.006162, allocations: 326.8 kB / 0.6229 GB, free: 8.527 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.006326, allocations: 187.3 kB / 0.623 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.006615, allocations: 236.3 kB / 0.6233 GB, free: 8.07 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001801/0.006796, allocations: 216.4 kB / 0.6235 GB, free: 7.828 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.006798, allocations: 4 kB / 0.6235 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004339/0.007232, allocations: 448.1 kB / 0.6239 GB, free: 7.355 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 5.134e-05/0.007283, allocations: 73.58 kB / 0.624 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.007292, allocations: 3.938 kB / 0.624 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.007309, allocations: 4 kB / 0.624 GB, free: 7.266 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.068e-05/0.00733, allocations: 8.172 kB / 0.624 GB, free: 7.258 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.007338, allocations: 7.938 kB / 0.624 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002367/0.007575, allocations: 59.88 kB / 0.6241 GB, free: 7.191 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.568e-05/0.007601, allocations: 15.98 kB / 0.6241 GB, free: 7.176 MB / 0.5886 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.0001058/0.007707, allocations: 142.7 kB / 0.6242 GB, free: 7.027 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.299e-05/0.00772, allocations: 3.953 kB / 0.6242 GB, free: 7.023 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.854e-05/0.007748, allocations: 16 kB / 0.6242 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.505e-06/0.007751, allocations: 0 / 0.6242 GB, free: 7.004 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.007759, allocations: 7.984 kB / 0.6242 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.007765, allocations: 0 / 0.6242 GB, free: 6.996 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001229/0.007888, allocations: 156.7 kB / 0.6244 GB, free: 6.801 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.007889, allocations: 4 kB / 0.6244 GB, free: 6.797 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.951e-06/0.007895, allocations: 4 kB / 0.6244 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.007898, allocations: 0 / 0.6244 GB, free: 6.793 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.217e-06/0.007907, allocations: 4 kB / 0.6244 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.007908, allocations: 0 / 0.6244 GB, free: 6.789 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.007911, allocations: 3.938 kB / 0.6244 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002171/0.008128, allocations: 137.9 kB / 0.6245 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.318e-06/0.008137, allocations: 4.328 kB / 0.6245 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.008152, allocations: 7.984 kB / 0.6245 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.768e-05/0.00817, allocations: 4 kB / 0.6245 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.008201, allocations: 7.938 kB / 0.6246 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.211e-06/0.008207, allocations: 3.984 kB / 0.6246 GB, free: 6.602 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.356e-05/0.008251, allocations: 98.98 kB / 0.6246 GB, free: 6.508 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.008251, allocations: 4 kB / 0.6247 GB, free: 6.504 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002212/0.008472, allocations: 35.95 kB / 0.6247 GB, free: 6.469 MB / 0.5886 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.0003685/0.008841, allocations: 0.6873 MB / 0.6254 GB, free: 5.746 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003246/0.009165, allocations: 366 kB / 0.6257 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.009167, allocations: 0 / 0.6257 GB, free: 5.352 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.741e-05/0.009204, allocations: 31.92 kB / 0.6257 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.009392, allocations: 19.92 kB / 0.6258 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.01117, allocations: 2.435 MB / 0.6281 GB, free: 2.684 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.573e-05/0.01122, allocations: 87.31 kB / 0.6282 GB, free: 2.578 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.631e-05/0.01125, allocations: 4 kB / 0.6282 GB, free: 2.574 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.698e-05/0.01129, allocations: 24.48 kB / 0.6282 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of SimCode: time 4.01e-07/0.01129, allocations: 0 / 0.6282 GB, free: 2.547 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.03067, allocations: 4.331 MB / 0.6325 GB, free: 14.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.701/6.732, allocations: 5.469 kB / 0.6325 GB, free: 14.42 MB / 0.6042 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_BooleanVectorReplicator.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.36419894080609] Failed to read output from testmodel.py, exit status != 0: 6.81213709153235 6.820603041 6.815024875 Calling exit ...