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.001176/0.001176, allocations: 105.5 kB / 18.95 MB, free: 1.188 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.001151/0.001151, allocations: 213.9 kB / 22.25 MB, free: 3.578 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.9506/0.9506, allocations: 230.6 MB / 256 MB, free: 9.602 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.7588/0.7588, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.0009744/0.0009744, allocations: 68.8 kB / 0.7182 GB, free: 4.035 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4783/0.4793, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001449/0.4807, allocations: 0.6582 MB / 0.8184 GB, free: 0.6133 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000765/0.4815, allocations: 0.8542 MB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.02e-05/0.4815, allocations: 0 / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.812e-05/0.4816, allocations: 5.766 kB / 0.8193 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.603e-05/0.4817, allocations: 16.55 kB / 0.8193 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001154/0.4818, allocations: 16.91 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.4819, allocations: 75.44 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.4821, allocations: 24.11 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.411e-05/0.4821, allocations: 39.89 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.817e-05/0.4822, allocations: 39.27 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.4823, allocations: 6.688 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.4823, allocations: 6.844 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.4823, allocations: 31.3 kB / 0.8195 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.121e-05/0.4824, allocations: 29.23 kB / 0.8195 GB, free: 15.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.4825, allocations: 93.45 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.4825, allocations: 0 / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.834e-06/0.4825, allocations: 0.8125 kB / 0.8196 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.4825, allocations: 0 / 0.8196 GB, free: 15.81 MB / 0.6198 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.0004868/0.483, allocations: 332.3 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.483, allocations: 11.25 kB / 0.82 GB, free: 15.52 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.4831, allocations: 36.77 kB / 0.82 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.4831, allocations: 14.02 kB / 0.82 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001427/0.4832, allocations: 134.7 kB / 0.8201 GB, free: 15.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.611e-05/0.4833, allocations: 8.641 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.293e-05/0.4833, allocations: 8.406 kB / 0.8202 GB, free: 15.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.4835, allocations: 158.4 kB / 0.8203 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.4836, allocations: 4.5 kB / 0.8203 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.4836, allocations: 4 kB / 0.8203 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.901e-06/0.4836, allocations: 3.984 kB / 0.8203 GB, free: 15.24 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002539/0.4838, allocations: 148.7 kB / 0.8205 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004099/0.4842, allocations: 400.9 kB / 0.8208 GB, free: 14.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.4844, allocations: 118.2 kB / 0.821 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.4845, allocations: 74.75 kB / 0.821 GB, free: 14.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/0.4846, allocations: 7.156 kB / 0.821 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.4846, allocations: 35.06 kB / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.413e-06/0.4846, allocations: 0 / 0.8211 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0004483/0.485, allocations: 226.8 kB / 0.8213 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.834e-05/0.4851, allocations: 85.06 kB / 0.8214 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.4852, allocations: 126.9 kB / 0.8215 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.000303/0.4855, allocations: 25.7 kB / 0.8215 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.845e-05/0.4855, allocations: 105.7 kB / 0.8216 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.4855, allocations: 8.812 kB / 0.8216 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.657e-05/0.4856, allocations: 28.14 kB / 0.8216 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.198e-05/0.4856, allocations: 321 kB / 0.822 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.4858, allocations: 65.67 kB / 0.822 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/0.4859, allocations: 78.05 kB / 0.8221 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000221/0.4861, allocations: 130.6 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4861, allocations: 1.344 kB / 0.8222 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002401/0.4864, allocations: 161.2 kB / 0.8224 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.4864, allocations: 5.438 kB / 0.8224 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4864, allocations: 0 / 0.8224 GB, free: 13.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.4864, allocations: 5.812 kB / 0.8224 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.4865, allocations: 25.39 kB / 0.8224 GB, free: 13.85 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.4865, allocations: 9.891 kB / 0.8224 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.495e-05/0.4866, allocations: 16.22 kB / 0.8224 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.4866, allocations: 1.672 kB / 0.8224 GB, free: 13.84 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.885e-05/0.4867, allocations: 126.3 kB / 0.8226 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.4867, allocations: 3.156 kB / 0.8226 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.594e-05/0.4867, allocations: 13.47 kB / 0.8226 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.4867, allocations: 6.641 kB / 0.8226 GB, free: 13.71 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.805e-06/0.4867, allocations: 5.375 kB / 0.8226 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4867, allocations: 0 / 0.8226 GB, free: 13.7 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/0.4869, allocations: 159.1 kB / 0.8227 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4869, allocations: 0 / 0.8227 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.593e-05/0.487, allocations: 23.06 kB / 0.8228 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.487, allocations: 1.125 kB / 0.8228 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.347e-06/0.487, allocations: 1.734 kB / 0.8228 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.487, allocations: 0.75 kB / 0.8228 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.487, allocations: 5 kB / 0.8228 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.4873, allocations: 340 kB / 0.8231 GB, free: 13.3 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.045e-05/0.4873, allocations: 10.97 kB / 0.8231 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.411e-05/0.4873, allocations: 5.766 kB / 0.8231 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.345e-05/0.4874, allocations: 15.94 kB / 0.8231 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.312e-05/0.4875, allocations: 26.44 kB / 0.8231 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.4875, allocations: 6.625 kB / 0.8231 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.248e-05/0.4875, allocations: 99.03 kB / 0.8232 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4875, allocations: 0 / 0.8232 GB, free: 13.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001785/0.4877, allocations: 19.91 kB / 0.8233 GB, free: 13.19 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.0005244/0.4882, allocations: 0.8666 MB / 0.8241 GB, free: 12.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002956/0.4885, allocations: 137.4 kB / 0.8242 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.4885, allocations: 0 / 0.8242 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001423/0.4887, allocations: 92.12 kB / 0.8243 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000244/0.4889, allocations: 13.53 kB / 0.8243 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001661/0.4906, allocations: 1.693 MB / 0.826 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.082e-05/0.4907, allocations: 93.88 kB / 0.8261 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.474e-05/0.4907, allocations: 19.39 kB / 0.8261 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.632e-05/0.4908, allocations: 22.5 kB / 0.8261 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of SimCode: time 7.71e-07/0.4908, allocations: 0 / 0.8261 GB, free: 10.93 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01738/0.5082, allocations: 2.989 MB / 0.829 GB, free: 10.01 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.671/7.179, allocations: 7.391 kB / 0.8291 GB, free: 10.01 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.135248135309666] Failed to read output from testmodel.py, exit status != 0: 7.25927572324872 7.275058925 6.789752023 Calling exit ...