Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.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.0008739/0.0008739, allocations: 113.3 kB / 18.93 MB, free: 1.27 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.0009105/0.0009105, allocations: 219.4 kB / 22.25 MB, free: 3.699 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.9422/0.9422, allocations: 230.6 MB / 256 MB, free: 9.805 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.8134/0.8134, allocations: 203.8 MB / 0.5042 GB, free: 10.76 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: "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) [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.0008641/0.0008641, allocations: 66.45 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5996/0.6004, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001806/0.6022, allocations: 0.6721 MB / 0.8185 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.6033, allocations: 0.8658 MB / 0.8194 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.722e-05/0.6034, allocations: 4 kB / 0.8194 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001375/0.6035, allocations: 12.84 kB / 0.8194 GB, free: 172 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001291/0.6036, allocations: 9.344 kB / 0.8194 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000158/0.6038, allocations: 18.91 kB / 0.8194 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001728/0.604, allocations: 73.64 kB / 0.8195 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001783/0.6041, allocations: 25.12 kB / 0.8195 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.402e-05/0.6042, allocations: 31.88 kB / 0.8195 GB, free: 100 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.6043, allocations: 44.39 kB / 0.8196 GB, free: 80 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.6044, allocations: 9.75 kB / 0.8196 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.6044, allocations: 5.312 kB / 0.8196 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.563e-05/0.6044, allocations: 31.52 kB / 0.8196 GB, free: 60 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.6045, allocations: 35.02 kB / 0.8196 GB, free: 36 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001445/0.6046, allocations: 88.95 kB / 0.8197 GB, free: 8 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.6046, allocations: 0 / 0.8197 GB, free: 8 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.004e-06/0.6046, allocations: 0 / 0.8197 GB, free: 8 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.6047, allocations: 1.5 kB / 0.8197 GB, free: 8 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005638/0.6052, allocations: 327.2 kB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/0.6053, allocations: 8.656 kB / 0.82 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.681e-05/0.6053, allocations: 43.48 kB / 0.8201 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.828e-05/0.6053, allocations: 10.61 kB / 0.8201 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.6055, allocations: 136.7 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.895e-05/0.6055, allocations: 8.844 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.6055, allocations: 3.812 kB / 0.8202 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002939/0.6058, allocations: 156.6 kB / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.6058, allocations: 4.719 kB / 0.8204 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.384e-05/0.6058, allocations: 6.562 kB / 0.8204 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.6058, allocations: 0 / 0.8204 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002795/0.6061, allocations: 160.6 kB / 0.8206 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004743/0.6066, allocations: 415.6 kB / 0.8209 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001901/0.6068, allocations: 108.1 kB / 0.8211 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001308/0.6069, allocations: 79.09 kB / 0.8211 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.6069, allocations: 8.469 kB / 0.8211 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.216e-05/0.607, allocations: 32.73 kB / 0.8212 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.673e-06/0.607, allocations: 0 / 0.8212 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0004579/0.6074, allocations: 235.8 kB / 0.8214 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.011e-05/0.6075, allocations: 79.42 kB / 0.8215 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.114e-05/0.6076, allocations: 127.5 kB / 0.8216 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.6076, allocations: 31.5 kB / 0.8216 GB, free: 14.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.776e-05/0.6076, allocations: 97.27 kB / 0.8217 GB, free: 14.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.882e-05/0.6076, allocations: 11.02 kB / 0.8217 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/0.6077, allocations: 24.97 kB / 0.8217 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.535e-05/0.6078, allocations: 321.1 kB / 0.8221 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001327/0.6079, allocations: 62.73 kB / 0.8221 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001184/0.608, allocations: 77.88 kB / 0.8222 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.6082, allocations: 131.7 kB / 0.8223 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.6082, allocations: 0 / 0.8223 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002334/0.6085, allocations: 164.7 kB / 0.8225 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.6085, allocations: 7.062 kB / 0.8225 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.6085, allocations: 7.938 kB / 0.8225 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.214e-05/0.6085, allocations: 0 / 0.8225 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.6086, allocations: 26.03 kB / 0.8225 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.6086, allocations: 5.219 kB / 0.8225 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.238e-05/0.6087, allocations: 14.25 kB / 0.8225 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.6087, allocations: 4.891 kB / 0.8225 GB, free: 14.03 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 8.804e-05/0.6088, allocations: 125.2 kB / 0.8227 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/0.6088, allocations: 9.016 kB / 0.8227 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.6088, allocations: 15.06 kB / 0.8227 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.6088, allocations: 0 / 0.8227 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.6088, allocations: 3.938 kB / 0.8227 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.6088, allocations: 3.125 kB / 0.8227 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/0.609, allocations: 166 kB / 0.8228 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.609, allocations: 1.312 kB / 0.8228 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.814e-05/0.6091, allocations: 25.3 kB / 0.8229 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.6091, allocations: 0 / 0.8229 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.6091, allocations: 4.703 kB / 0.8229 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.6091, allocations: 0.75 kB / 0.8229 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/0.6091, allocations: 7.875 kB / 0.8229 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.6094, allocations: 333.4 kB / 0.8232 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.062e-05/0.6095, allocations: 8.75 kB / 0.8232 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.6095, allocations: 3.781 kB / 0.8232 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.663e-05/0.6096, allocations: 17.08 kB / 0.8232 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.756e-05/0.6096, allocations: 27.95 kB / 0.8233 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.6096, allocations: 2.922 kB / 0.8233 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.584e-05/0.6097, allocations: 97.73 kB / 0.8233 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.6097, allocations: 0 / 0.8233 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001855/0.6099, allocations: 15.59 kB / 0.8234 GB, free: 13.38 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: 2 (intRep.y[3,1],intRep.y[3,2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0005575/0.6104, allocations: 0.8648 MB / 0.8242 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003082/0.6107, allocations: 149.3 kB / 0.8243 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6107, allocations: 0 / 0.8243 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.6109, allocations: 83.09 kB / 0.8244 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.6112, allocations: 21.45 kB / 0.8244 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.6134, allocations: 1.694 MB / 0.8261 GB, free: 11.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.6137, allocations: 0.6997 MB / 0.8268 GB, free: 10.51 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.746e-05/0.6138, allocations: 22 kB / 0.8268 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.242e-05/0.6139, allocations: 26.59 kB / 0.8268 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of SimCode: time 6.82e-07/0.6139, allocations: 0 / 0.8268 GB, free: 10.48 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.6329, allocations: 2.531 MB / 0.8293 GB, free: 10 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.544/7.176, allocations: 12.59 kB / 0.8293 GB, free: 10 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator_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_IntegerVectorReplicator.fmu > IDEAS_dev_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.294734833063558] Failed to read output from testmodel.py, exit status != 0: 7.255889004794881 7.266629739 6.65941917 Calling exit ...