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.0008344/0.0008344, 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.001096/0.001096, allocations: 214.6 kB / 22.26 MB, free: 3.852 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.9659/0.9659, allocations: 230.6 MB / 256 MB, free: 3.449 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.8064/0.8064, allocations: 203.8 MB / 0.5042 GB, free: 0.7305 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.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: 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.001048/0.001048, allocations: 63.89 kB / 0.7182 GB, free: 14.94 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5303/0.5313, allocations: 102 MB / 0.8179 GB, free: 24.91 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001437/0.5328, allocations: 0.6417 MB / 0.8185 GB, free: 24.53 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0007399/0.5335, allocations: 0.8248 MB / 0.8193 GB, free: 23.91 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.555e-05/0.5336, allocations: 5.188 kB / 0.8193 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001054/0.5337, allocations: 6.891 kB / 0.8193 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.0001167/0.5338, allocations: 11.34 kB / 0.8193 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 6.727e-05/0.5338, allocations: 7.516 kB / 0.8193 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.534, allocations: 59.86 kB / 0.8194 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.5342, allocations: 15.31 kB / 0.8194 GB, free: 23.86 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.573e-05/0.5342, allocations: 27.5 kB / 0.8194 GB, free: 23.84 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 9.808e-05/0.5343, allocations: 30.66 kB / 0.8194 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.104e-05/0.5344, allocations: 5.344 kB / 0.8194 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 1.332e-05/0.5344, allocations: 3.562 kB / 0.8194 GB, free: 23.83 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 7.015e-05/0.5344, allocations: 26.7 kB / 0.8195 GB, free: 23.82 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 4.709e-05/0.5345, allocations: 28.42 kB / 0.8195 GB, free: 23.8 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001456/0.5346, allocations: 67.36 kB / 0.8196 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.5346, allocations: 6.219 kB / 0.8196 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5346, allocations: 0 / 0.8196 GB, free: 23.78 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.5346, allocations: 0 / 0.8196 GB, free: 23.78 MB / 0.6355 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.0005275/0.5352, allocations: 314.2 kB / 0.8199 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.485e-05/0.5352, allocations: 12.12 kB / 0.8199 GB, free: 23.49 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.5353, allocations: 34.59 kB / 0.8199 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.5353, allocations: 9.391 kB / 0.8199 GB, free: 23.45 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.5354, allocations: 129.7 kB / 0.82 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.5354, allocations: 5.969 kB / 0.8201 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.5355, allocations: 5.031 kB / 0.8201 GB, free: 23.31 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003207/0.5358, allocations: 134.3 kB / 0.8202 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.5358, allocations: 4.969 kB / 0.8202 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.5358, allocations: 1.031 kB / 0.8202 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.5358, allocations: 0.5 kB / 0.8202 GB, free: 23.24 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002471/0.5361, allocations: 129.1 kB / 0.8203 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004311/0.5365, allocations: 410.9 kB / 0.8207 GB, free: 22.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.5366, allocations: 90.23 kB / 0.8208 GB, free: 22.82 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001123/0.5368, allocations: 67.58 kB / 0.8209 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.321e-05/0.5368, allocations: 5.391 kB / 0.8209 GB, free: 22.79 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.45e-05/0.5368, allocations: 32.59 kB / 0.8209 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.5368, allocations: 0 / 0.8209 GB, free: 22.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0004478/0.5372, allocations: 195.4 kB / 0.8211 GB, free: 22.69 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.246e-05/0.5373, allocations: 78.58 kB / 0.8212 GB, free: 22.6 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.597e-05/0.5373, allocations: 127.7 kB / 0.8213 GB, free: 22.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.964e-06/0.5373, allocations: 30.92 kB / 0.8213 GB, free: 22.45 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.5374, allocations: 97.66 kB / 0.8214 GB, free: 22.36 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.5374, allocations: 4.656 kB / 0.8214 GB, free: 22.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.61e-05/0.5374, allocations: 18.39 kB / 0.8214 GB, free: 22.33 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.387e-05/0.5375, allocations: 318.7 kB / 0.8217 GB, free: 22.02 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.5376, allocations: 54.27 kB / 0.8218 GB, free: 22.01 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.5377, allocations: 62.09 kB / 0.8218 GB, free: 21.99 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002019/0.5379, allocations: 106.8 kB / 0.8219 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.5379, allocations: 0 / 0.8219 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002407/0.5381, allocations: 141.7 kB / 0.8221 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/0.5381, allocations: 9.125 kB / 0.8221 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.5381, allocations: 1.672 kB / 0.8221 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.5382, allocations: 1.719 kB / 0.8221 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.724e-05/0.5383, allocations: 17.55 kB / 0.8221 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.5383, allocations: 1.156 kB / 0.8221 GB, free: 21.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.406e-05/0.5383, allocations: 19.53 kB / 0.8221 GB, free: 21.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.5383, allocations: 0.75 kB / 0.8221 GB, free: 21.9 MB / 0.6355 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.068e-05/0.5384, allocations: 131 kB / 0.8222 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.368e-05/0.5384, allocations: 3.391 kB / 0.8223 GB, free: 21.78 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.724e-05/0.5384, allocations: 15 kB / 0.8223 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.5384, allocations: 0.5312 kB / 0.8223 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.5384, allocations: 4.812 kB / 0.8223 GB, free: 21.76 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.5384, allocations: 4.688 kB / 0.8223 GB, free: 21.75 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001457/0.5386, allocations: 147.9 kB / 0.8224 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.5386, allocations: 1.219 kB / 0.8224 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.832e-05/0.5387, allocations: 18.75 kB / 0.8224 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.5387, allocations: 1.062 kB / 0.8224 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.5387, allocations: 4 kB / 0.8224 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.5387, allocations: 1.812 kB / 0.8224 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.5387, allocations: 0.5312 kB / 0.8224 GB, free: 21.59 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000285/0.5389, allocations: 315.1 kB / 0.8227 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.313e-05/0.539, allocations: 3.562 kB / 0.8227 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.539, allocations: 1.703 kB / 0.8227 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.175e-05/0.5391, allocations: 15.52 kB / 0.8228 GB, free: 21.36 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.202e-05/0.5391, allocations: 14.14 kB / 0.8228 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.5391, allocations: 1.469 kB / 0.8228 GB, free: 21.35 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.674e-05/0.5392, allocations: 98.09 kB / 0.8229 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.5392, allocations: 1.375 kB / 0.8229 GB, free: 21.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001885/0.5394, allocations: 20.17 kB / 0.8229 GB, free: 21.26 MB / 0.6355 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.0004577/0.5398, allocations: 0.8299 MB / 0.8237 GB, free: 20.51 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000288/0.5401, allocations: 113.8 kB / 0.8238 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.5401, allocations: 0 / 0.8238 GB, free: 20.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001365/0.5402, allocations: 64.55 kB / 0.8239 GB, free: 20.49 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.5405, allocations: 20.61 kB / 0.8239 GB, free: 20.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001358/0.5419, allocations: 1.598 MB / 0.8255 GB, free: 19.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001123/0.542, allocations: 0.6951 MB / 0.8261 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.284e-05/0.542, allocations: 14.61 kB / 0.8261 GB, free: 18.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.5421, allocations: 21.98 kB / 0.8262 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of SimCode: time 5.11e-07/0.5421, allocations: 0 / 0.8262 GB, free: 18.42 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.5573, allocations: 1.972 MB / 0.8281 GB, free: 18.01 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.498/7.055, allocations: 5.5 kB / 0.8281 GB, free: 18.01 MB / 0.6355 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: 10.130164590897039] Failed to read output from testmodel.py, exit status != 0: 7.133495569927618 7.144070531 6.607249283 Calling exit ...