Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008152/0.0008152, 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.0008627/0.0008627, allocations: 207.6 kB / 22.25 MB, free: 3.59 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.942/0.942, 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 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.7716/0.7716, allocations: 203.5 MB / 0.5039 GB, free: 10.77 MB / 410.7 MB " [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.IntegerVectorReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator,fileNamePrefix="IDEAS_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.001302/0.001302, allocations: 70.33 kB / 0.7178 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4439/0.4452, allocations: 102 MB / 0.8174 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.00128/0.4465, allocations: 0.6596 MB / 0.818 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000642/0.4471, allocations: 0.8615 MB / 0.8189 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.099e-05/0.4472, allocations: 0 / 0.8189 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.98e-05/0.4473, allocations: 7.062 kB / 0.8189 GB, free: 200 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.86e-05/0.4474, allocations: 11.75 kB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001178/0.4475, allocations: 19.39 kB / 0.8189 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001118/0.4476, allocations: 68.39 kB / 0.819 GB, free: 156 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001354/0.4477, allocations: 20.58 kB / 0.819 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.339e-05/0.4478, allocations: 39.45 kB / 0.819 GB, free: 132 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.976e-05/0.4479, allocations: 46.59 kB / 0.8191 GB, free: 112 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.4479, allocations: 7.844 kB / 0.8191 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.419e-05/0.4479, allocations: 5.344 kB / 0.8191 GB, free: 108 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.448, allocations: 29.59 kB / 0.8191 GB, free: 96 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.046e-05/0.448, allocations: 31.11 kB / 0.8191 GB, free: 76 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.4482, allocations: 87.97 kB / 0.8192 GB, free: 48 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4482, allocations: 3.938 kB / 0.8192 GB, free: 44 kB / 0.6042 GB Notification: Performance of FrontEnd: time 1.893e-06/0.4482, allocations: 0 / 0.8192 GB, free: 44 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.4482, allocations: 0 / 0.8192 GB, free: 44 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.0005697/0.4488, allocations: 328.8 kB / 0.8195 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4488, allocations: 15.39 kB / 0.8196 GB, free: 15.74 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.4489, allocations: 35.97 kB / 0.8196 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.527e-05/0.4489, allocations: 10.95 kB / 0.8196 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.449, allocations: 133 kB / 0.8197 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/0.4491, allocations: 8.953 kB / 0.8197 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.4491, allocations: 3.375 kB / 0.8197 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002774/0.4494, allocations: 169.1 kB / 0.8199 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.4494, allocations: 3.938 kB / 0.8199 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.4494, allocations: 0 / 0.8199 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.4494, allocations: 4 kB / 0.8199 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002544/0.4496, allocations: 154.4 kB / 0.8201 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004042/0.45, allocations: 394.6 kB / 0.8204 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001748/0.4502, allocations: 122.5 kB / 0.8205 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001186/0.4503, allocations: 75.12 kB / 0.8206 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.4503, allocations: 0.5156 kB / 0.8206 GB, free: 15 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/0.4504, allocations: 37.55 kB / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.4504, allocations: 0 / 0.8207 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0004645/0.4508, allocations: 231.9 kB / 0.8209 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.4509, allocations: 81.91 kB / 0.821 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.057e-05/0.451, allocations: 130 kB / 0.8211 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.451, allocations: 25.7 kB / 0.8211 GB, free: 14.65 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.048e-05/0.451, allocations: 100 kB / 0.8212 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.391e-05/0.4511, allocations: 16.92 kB / 0.8212 GB, free: 14.54 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.4511, allocations: 22.22 kB / 0.8212 GB, free: 14.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.671e-05/0.4512, allocations: 316.4 kB / 0.8215 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.4513, allocations: 68.28 kB / 0.8216 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/0.4514, allocations: 78.39 kB / 0.8217 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002189/0.4516, allocations: 127 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.4516, allocations: 4 kB / 0.8218 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002407/0.4519, allocations: 167.1 kB / 0.822 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.4519, allocations: 5.531 kB / 0.822 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4519, allocations: 1.172 kB / 0.822 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.4519, allocations: 0 / 0.822 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.936e-05/0.452, allocations: 24.47 kB / 0.822 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.452, allocations: 7.422 kB / 0.822 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.905e-05/0.4521, allocations: 13.77 kB / 0.822 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.315e-06/0.4521, allocations: 7.172 kB / 0.822 GB, free: 14.07 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 7.235e-05/0.4521, allocations: 129.8 kB / 0.8221 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.4522, allocations: 2.281 kB / 0.8221 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.14e-05/0.4522, allocations: 15.31 kB / 0.8222 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.4522, allocations: 1.344 kB / 0.8222 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4522, allocations: 5.125 kB / 0.8222 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.4522, allocations: 4 kB / 0.8222 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001541/0.4523, allocations: 164 kB / 0.8223 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.4523, allocations: 1.219 kB / 0.8223 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.887e-05/0.4524, allocations: 23.05 kB / 0.8223 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.4524, allocations: 0 / 0.8223 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.4524, allocations: 1.5 kB / 0.8223 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.4524, allocations: 4.875 kB / 0.8224 GB, free: 13.76 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.4524, allocations: 5 kB / 0.8224 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002776/0.4527, allocations: 340.2 kB / 0.8227 GB, free: 13.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-06/0.4527, allocations: 10.77 kB / 0.8227 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.4527, allocations: 2.531 kB / 0.8227 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.4528, allocations: 16.16 kB / 0.8227 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.512e-05/0.4529, allocations: 29.75 kB / 0.8227 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-06/0.4529, allocations: 5.516 kB / 0.8227 GB, free: 13.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.419e-05/0.4529, allocations: 94.03 kB / 0.8228 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4529, allocations: 0 / 0.8228 GB, free: 13.42 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001746/0.4531, allocations: 16.59 kB / 0.8228 GB, free: 13.41 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.0004863/0.4536, allocations: 0.8631 MB / 0.8237 GB, free: 12.66 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000298/0.4539, allocations: 141.9 kB / 0.8238 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4539, allocations: 0 / 0.8238 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.454, allocations: 86.77 kB / 0.8239 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.0002362/0.4542, allocations: 15.47 kB / 0.8239 GB, free: 12.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.4557, allocations: 1.69 MB / 0.8256 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.687e-05/0.4558, allocations: 86.62 kB / 0.8257 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.748e-05/0.4558, allocations: 22.22 kB / 0.8257 GB, free: 11.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.4559, allocations: 27.84 kB / 0.8257 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of SimCode: time 5.61e-07/0.4559, allocations: 0 / 0.8257 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01493/0.4708, allocations: 2.988 MB / 0.8286 GB, free: 10.24 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.766/7.236, allocations: 9.219 kB / 0.8286 GB, free: 10.24 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.18125405581668] Failed to read output from testmodel.py, exit status != 0: 7.3122070473618805 7.323731108 6.873339534 Calling exit ...