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.0008067/0.0008067, 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.0008974/0.0008974, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9039/0.9039, allocations: 177.2 MB / 202.8 MB, free: 5.734 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.7549/0.7549, allocations: 154.6 MB / 413.8 MB, free: 0.7969 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.905e-06/2.905e-06, allocations: 0 / 0.6181 GB, free: 13.5 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.301e-05/2.592e-05, allocations: 9.812 kB / 0.6181 GB, free: 13.49 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator): time 0.001558/0.001584, allocations: 0.6071 MB / 0.6187 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001368/0.002952, allocations: 1.143 MB / 0.6198 GB, free: 11.73 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.631e-05/0.003028, allocations: 7.938 kB / 0.6198 GB, free: 11.72 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.003131, allocations: 7.922 kB / 0.6198 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.63e-05/0.003227, allocations: 4 kB / 0.6198 GB, free: 11.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003877/0.003615, allocations: 126.5 kB / 0.6199 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002018/0.003817, allocations: 191.6 kB / 0.6201 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.003929, allocations: 15.97 kB / 0.6201 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.004041, allocations: 103.9 kB / 0.6202 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.00419, allocations: 75.91 kB / 0.6203 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.054e-05/0.004221, allocations: 16 kB / 0.6203 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.008e-05/0.004291, allocations: 27.97 kB / 0.6204 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.776e-05/0.004348, allocations: 23.92 kB / 0.6204 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 8.388e-05/0.004432, allocations: 63.88 kB / 0.6204 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002401/0.004672, allocations: 223.5 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.004675, allocations: 4 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.793e-06/0.004677, allocations: 3.938 kB / 0.6207 GB, free: 10.86 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.004683, allocations: 0 / 0.6207 GB, free: 10.86 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.0006162/0.005299, allocations: 381.4 kB / 0.621 GB, free: 10.44 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.005351, allocations: 16.02 kB / 0.621 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.325e-05/0.005384, allocations: 30.75 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.273e-05/0.005437, allocations: 16.89 kB / 0.6211 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002077/0.005645, allocations: 169.3 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.005659, allocations: 4.375 kB / 0.6213 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.387e-05/0.005683, allocations: 16.38 kB / 0.6213 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.005832, allocations: 99.86 kB / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.00584, allocations: 192 / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.005851, allocations: 384 / 0.6214 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.005857, allocations: 8.125 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.993e-05/0.005917, allocations: 43.95 kB / 0.6214 GB, free: 10 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.006363, allocations: 431.9 kB / 0.6218 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 8.291e-05/0.006446, allocations: 69.06 kB / 0.6219 GB, free: 9.445 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.532e-05/0.006471, allocations: 25.77 kB / 0.6219 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.787e-06/0.00648, allocations: 4 kB / 0.6219 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.006622, allocations: 113 kB / 0.622 GB, free: 9.281 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 9.41e-07/0.006623, allocations: 3.938 kB / 0.622 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0002368/0.00686, allocations: 129.6 kB / 0.6222 GB, free: 9.145 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.579e-05/0.006906, allocations: 88.98 kB / 0.6222 GB, free: 9.039 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.254e-05/0.006989, allocations: 133.8 kB / 0.6224 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.342e-05/0.007012, allocations: 37.69 kB / 0.6224 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.007063, allocations: 100 kB / 0.6225 GB, free: 8.754 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.278e-05/0.007076, allocations: 11.94 kB / 0.6225 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.911e-05/0.007145, allocations: 57.67 kB / 0.6226 GB, free: 8.68 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.904e-05/0.007224, allocations: 318.8 kB / 0.6229 GB, free: 8.359 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001759/0.0074, allocations: 191.3 kB / 0.6231 GB, free: 8.16 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001648/0.007565, allocations: 232.4 kB / 0.6233 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.007746, allocations: 216.4 kB / 0.6235 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.00775, allocations: 0 / 0.6235 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004215/0.008171, allocations: 456.4 kB / 0.6239 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 4.722e-05/0.008218, allocations: 63.39 kB / 0.624 GB, free: 7.109 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.008226, allocations: 12.17 kB / 0.624 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.008239, allocations: 0 / 0.624 GB, free: 7.098 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.99e-05/0.008259, allocations: 7.938 kB / 0.624 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.008265, allocations: 0 / 0.624 GB, free: 7.09 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002219/0.008487, allocations: 71.86 kB / 0.6241 GB, free: 7.02 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.215e-05/0.008509, allocations: 12 kB / 0.6241 GB, free: 7.008 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 9.755e-05/0.008607, allocations: 142.7 kB / 0.6242 GB, free: 6.859 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.632e-05/0.008623, allocations: 15.94 kB / 0.6242 GB, free: 6.844 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.008649, allocations: 8 kB / 0.6242 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.008652, allocations: 0 / 0.6242 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.008658, allocations: 0 / 0.6242 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.008661, allocations: 3.938 kB / 0.6242 GB, free: 6.828 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003039/0.008965, allocations: 156.7 kB / 0.6244 GB, free: 6.633 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.008966, allocations: 3.938 kB / 0.6244 GB, free: 6.629 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.203e-06/0.008973, allocations: 7.984 kB / 0.6244 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.008976, allocations: 0 / 0.6244 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.008983, allocations: 0 / 0.6244 GB, free: 6.621 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.008985, allocations: 4 kB / 0.6244 GB, free: 6.617 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008986, allocations: 4 kB / 0.6244 GB, free: 6.613 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.009112, allocations: 133.9 kB / 0.6245 GB, free: 6.461 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.009121, allocations: 7.953 kB / 0.6245 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.009132, allocations: 0 / 0.6245 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.537e-05/0.009147, allocations: 0 / 0.6245 GB, free: 6.453 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.649e-05/0.009174, allocations: 11.92 kB / 0.6246 GB, free: 6.441 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-06/0.009179, allocations: 4 kB / 0.6246 GB, free: 6.438 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.258e-05/0.009222, allocations: 99.27 kB / 0.6247 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009222, allocations: 0 / 0.6247 GB, free: 6.34 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001734/0.009395, allocations: 35.95 kB / 0.6247 GB, free: 6.305 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.0003495/0.009745, allocations: 0.6796 MB / 0.6254 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.000325/0.01007, allocations: 381.8 kB / 0.6257 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.01007, allocations: 0 / 0.6257 GB, free: 5.18 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.431e-05/0.01011, allocations: 27.97 kB / 0.6257 GB, free: 5.152 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001862/0.01029, allocations: 19.7 kB / 0.6258 GB, free: 5.137 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.01213, allocations: 2.435 MB / 0.6281 GB, free: 2.52 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.198e-05/0.01219, allocations: 91.31 kB / 0.6282 GB, free: 2.41 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.025e-05/0.01222, allocations: 4 kB / 0.6282 GB, free: 2.406 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.207e-05/0.01226, allocations: 24.48 kB / 0.6283 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.01226, allocations: 0 / 0.6283 GB, free: 2.379 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01639/0.02865, allocations: 4.331 MB / 0.6325 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.878/6.907, allocations: 10.3 kB / 0.6325 GB, free: 14.24 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.BooleanVectorReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.770336606539786] Failed to read output from testmodel.py, exit status != 0: 6.990787825547159 7.004440891 6.997320305 Calling exit ...