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.001181/0.001181, allocations: 109.9 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.001284/0.001284, allocations: 221.7 kB / 22.26 MB, free: 3.695 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.9859/0.9859, allocations: 230.6 MB / 256 MB, free: 9.816 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.8287/0.8287, 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.001157/0.001157, allocations: 74.52 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5639/0.5651, allocations: 102 MB / 0.8179 GB, free: 1.277 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001523/0.5666, allocations: 0.6601 MB / 0.8185 GB, free: 0.8672 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000764/0.5674, allocations: 0.8634 MB / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.83e-05/0.5674, allocations: 0 / 0.8193 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.5676, allocations: 17.34 kB / 0.8194 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.826e-05/0.5677, allocations: 13.33 kB / 0.8194 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.5678, allocations: 16.09 kB / 0.8194 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.5679, allocations: 71.91 kB / 0.8195 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001405/0.5681, allocations: 19.7 kB / 0.8195 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.852e-05/0.5681, allocations: 34.84 kB / 0.8195 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.741e-05/0.5682, allocations: 48.33 kB / 0.8196 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.5682, allocations: 5.312 kB / 0.8196 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.366e-05/0.5683, allocations: 4.469 kB / 0.8196 GB, free: 120 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.655e-05/0.5683, allocations: 29.12 kB / 0.8196 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.401e-05/0.5684, allocations: 29.5 kB / 0.8196 GB, free: 88 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001422/0.5685, allocations: 96.8 kB / 0.8197 GB, free: 52 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.5685, allocations: 0 / 0.8197 GB, free: 52 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5685, allocations: 1.281 kB / 0.8197 GB, free: 52 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.621e-06/0.5685, allocations: 3.938 kB / 0.8197 GB, free: 48 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.0005214/0.569, allocations: 327.5 kB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.5691, allocations: 11.19 kB / 0.82 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.405e-05/0.5691, allocations: 38.55 kB / 0.8201 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.892e-05/0.5691, allocations: 11.19 kB / 0.8201 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001505/0.5693, allocations: 142.4 kB / 0.8202 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.546e-05/0.5693, allocations: 3.797 kB / 0.8202 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.5693, allocations: 8.375 kB / 0.8202 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002822/0.5696, allocations: 154 kB / 0.8204 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.5696, allocations: 3.938 kB / 0.8204 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.5696, allocations: 4.875 kB / 0.8204 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.5696, allocations: 8.297 kB / 0.8204 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002601/0.5699, allocations: 149.5 kB / 0.8205 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.5704, allocations: 417 kB / 0.8209 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000193/0.5706, allocations: 114.2 kB / 0.8211 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001209/0.5707, allocations: 72.2 kB / 0.8211 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.5707, allocations: 4.062 kB / 0.8211 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.515e-05/0.5707, allocations: 48.8 kB / 0.8212 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.494e-06/0.5707, allocations: 0 / 0.8212 GB, free: 14.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0004694/0.5712, allocations: 228.4 kB / 0.8214 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.185e-05/0.5713, allocations: 81.11 kB / 0.8215 GB, free: 14.79 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.801e-05/0.5714, allocations: 126 kB / 0.8216 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.249e-05/0.5714, allocations: 26.27 kB / 0.8216 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.068e-05/0.5714, allocations: 101.9 kB / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.5714, allocations: 10.56 kB / 0.8217 GB, free: 14.55 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.965e-05/0.5715, allocations: 24.47 kB / 0.8217 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.33e-05/0.5716, allocations: 314.1 kB / 0.822 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001283/0.5717, allocations: 67.98 kB / 0.8221 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001152/0.5718, allocations: 81.5 kB / 0.8222 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002159/0.572, allocations: 126.7 kB / 0.8223 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.572, allocations: 1.938 kB / 0.8223 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002661/0.5723, allocations: 164.1 kB / 0.8225 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.5723, allocations: 16.66 kB / 0.8225 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/0.5723, allocations: 0 / 0.8225 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.456e-05/0.5723, allocations: 8.047 kB / 0.8225 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001143/0.5725, allocations: 28.42 kB / 0.8225 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.5725, allocations: 3.938 kB / 0.8225 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.188e-05/0.5725, allocations: 15.7 kB / 0.8225 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.455e-06/0.5725, allocations: 3.641 kB / 0.8225 GB, free: 14.06 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.049e-05/0.5726, allocations: 124.4 kB / 0.8227 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.528e-05/0.5726, allocations: 2.719 kB / 0.8227 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.5727, allocations: 18.64 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.5727, allocations: 1.344 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.5727, allocations: 5.344 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5727, allocations: 0.75 kB / 0.8227 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.5728, allocations: 164.2 kB / 0.8228 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.5728, allocations: 3 kB / 0.8228 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.095e-05/0.5729, allocations: 27.44 kB / 0.8229 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5729, allocations: 0 / 0.8229 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.5729, allocations: 1.344 kB / 0.8229 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.5729, allocations: 1.281 kB / 0.8229 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.5729, allocations: 7.938 kB / 0.8229 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003063/0.5732, allocations: 335.7 kB / 0.8232 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.5732, allocations: 5.141 kB / 0.8232 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.47e-05/0.5733, allocations: 6.062 kB / 0.8232 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-05/0.5734, allocations: 15.16 kB / 0.8232 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.913e-05/0.5734, allocations: 26.84 kB / 0.8232 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.5734, allocations: 2.031 kB / 0.8233 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.533e-05/0.5735, allocations: 98.78 kB / 0.8233 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5735, allocations: 0 / 0.8233 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001877/0.5737, allocations: 15.03 kB / 0.8234 GB, free: 13.42 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.0005432/0.5742, allocations: 0.865 MB / 0.8242 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002936/0.5745, allocations: 146.6 kB / 0.8243 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5745, allocations: 288 / 0.8243 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001445/0.5747, allocations: 86.19 kB / 0.8244 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002608/0.5749, allocations: 24.19 kB / 0.8244 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00182/0.5767, allocations: 1.692 MB / 0.8261 GB, free: 11.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002059/0.5769, allocations: 0.7025 MB / 0.8268 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.567e-05/0.577, allocations: 18.53 kB / 0.8268 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.064e-05/0.5771, allocations: 26.45 kB / 0.8268 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of SimCode: time 8.71e-07/0.5771, allocations: 1.188 kB / 0.8268 GB, free: 10.52 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0192/0.5963, allocations: 2.538 MB / 0.8293 GB, free: 10.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.753/7.35, allocations: 11.44 kB / 0.8293 GB, free: 10.03 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.386938686016947] Failed to read output from testmodel.py, exit status != 0: 7.427002792013809 7.441119134 6.870213438 Calling exit ...