Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.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.0007774/0.0007774, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008223/0.0008223, allocations: 170.3 kB / 22.46 MB, free: 2.105 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.8961/0.8961, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.7292/0.7292, allocations: 154.6 MB / 413.7 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.704e-06/1.704e-06, allocations: 0 / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229e-05/1.4e-05, allocations: 5.375 kB / 0.618 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.00114/0.001154, allocations: 0.6401 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007574/0.001912, allocations: 0.8121 MB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.544e-05/0.001977, allocations: 4 kB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.781e-05/0.002075, allocations: 7.922 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.88e-05/0.002164, allocations: 7.922 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.615e-05/0.00222, allocations: 11.98 kB / 0.6195 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.724e-05/0.002317, allocations: 55.84 kB / 0.6195 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.002442, allocations: 15.97 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.351e-05/0.002525, allocations: 39.86 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.449e-05/0.0026, allocations: 31.95 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.002623, allocations: 4 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.786e-06/0.002632, allocations: 4 kB / 0.6196 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.002673, allocations: 19.92 kB / 0.6197 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.819e-05/0.002701, allocations: 15.98 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 9.812e-05/0.002799, allocations: 71.77 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.884e-06/0.002801, allocations: 0 / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.004e-06/0.002803, allocations: 4 kB / 0.6197 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.002807, allocations: 0 / 0.6197 GB, free: 11.96 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.0004102/0.003218, allocations: 314.1 kB / 0.62 GB, free: 11.62 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.003259, allocations: 13.47 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.496e-05/0.003294, allocations: 38.73 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.22e-05/0.003316, allocations: 8.891 kB / 0.6201 GB, free: 11.55 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.003463, allocations: 133.6 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.018e-05/0.003474, allocations: 384 / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.839e-06/0.003483, allocations: 4.375 kB / 0.6202 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002202/0.003704, allocations: 127.9 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.003711, allocations: 8.125 kB / 0.6204 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.00372, allocations: 4.375 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.003727, allocations: 8.125 kB / 0.6204 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001928/0.00392, allocations: 127.8 kB / 0.6205 GB, free: 11.11 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003944/0.004314, allocations: 388 kB / 0.6209 GB, free: 10.68 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.00444, allocations: 93.14 kB / 0.621 GB, free: 10.57 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.583e-05/0.004536, allocations: 65.7 kB / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 9.488e-06/0.004545, allocations: 0 / 0.621 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.004567, allocations: 42.48 kB / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.004568, allocations: 0 / 0.6211 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003526/0.00492, allocations: 189.4 kB / 0.6212 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.513e-05/0.004955, allocations: 77.11 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.682e-05/0.005022, allocations: 121.8 kB / 0.6214 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.005032, allocations: 25.7 kB / 0.6214 GB, free: 10.01 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.005072, allocations: 100 kB / 0.6215 GB, free: 9.906 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.377e-05/0.005086, allocations: 3.953 kB / 0.6215 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.685e-05/0.005112, allocations: 13.97 kB / 0.6216 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.545e-05/0.005188, allocations: 322.8 kB / 0.6219 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.806e-05/0.005276, allocations: 55.92 kB / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.349e-05/0.005369, allocations: 65.64 kB / 0.622 GB, free: 9.434 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001618/0.005531, allocations: 113.5 kB / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.005533, allocations: 0 / 0.6221 GB, free: 9.316 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001943/0.005728, allocations: 137.5 kB / 0.6222 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.00574, allocations: 8 kB / 0.6222 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.005744, allocations: 0 / 0.6222 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.005754, allocations: 4.062 kB / 0.6222 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.592e-05/0.00583, allocations: 23.91 kB / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.005835, allocations: 0 / 0.6223 GB, free: 9.141 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.005878, allocations: 15.97 kB / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.005884, allocations: 0 / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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.399e-05/0.005948, allocations: 130.8 kB / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.005968, allocations: 0 / 0.6224 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.857e-05/0.005987, allocations: 11.84 kB / 0.6224 GB, free: 8.973 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.005989, allocations: 4 kB / 0.6224 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.005993, allocations: 4 kB / 0.6224 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.005995, allocations: 0 / 0.6224 GB, free: 8.965 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001483/0.006144, allocations: 156.6 kB / 0.6226 GB, free: 8.77 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.006145, allocations: 4 kB / 0.6226 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.087e-05/0.006186, allocations: 15.97 kB / 0.6226 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.006188, allocations: 4 kB / 0.6226 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.006195, allocations: 0 / 0.6226 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/0.006195, allocations: 0 / 0.6226 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.006196, allocations: 0 / 0.6226 GB, free: 8.746 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002519/0.006448, allocations: 322.5 kB / 0.6229 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-06/0.006454, allocations: 0 / 0.6229 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.075e-05/0.006464, allocations: 0 / 0.6229 GB, free: 8.414 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.513e-05/0.00654, allocations: 19.97 kB / 0.6229 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.597e-05/0.006575, allocations: 3.984 kB / 0.6229 GB, free: 8.391 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.407e-06/0.006579, allocations: 4 kB / 0.6229 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.866e-05/0.006618, allocations: 95.27 kB / 0.623 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.006618, allocations: 4.031 kB / 0.623 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001724/0.00679, allocations: 19.89 kB / 0.623 GB, free: 8.27 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.00041/0.0072, allocations: 0.8327 MB / 0.6239 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002411/0.007441, allocations: 111.9 kB / 0.624 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.007443, allocations: 0 / 0.624 GB, free: 7.297 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.828e-05/0.007541, allocations: 67.84 kB / 0.624 GB, free: 7.23 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002317/0.007773, allocations: 14.12 kB / 0.624 GB, free: 7.219 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.009001, allocations: 1.584 MB / 0.6256 GB, free: 5.547 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.183e-05/0.009063, allocations: 87.34 kB / 0.6257 GB, free: 5.441 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.451e-05/0.009098, allocations: 11.98 kB / 0.6257 GB, free: 5.43 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.137e-05/0.009139, allocations: 20.5 kB / 0.6257 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of SimCode: time 7.42e-07/0.00914, allocations: 0 / 0.6257 GB, free: 5.41 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01393/0.02307, allocations: 2.563 MB / 0.6282 GB, free: 3.012 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.952/6.975, allocations: 2.75 kB / 0.6282 GB, free: 3.012 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.810567612759769] Failed to read output from testmodel.py, exit status != 0: 7.053570792078972 7.068287601 7.062882269 Calling exit ...