Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009435/0.0009435, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.0008674/0.0008674, allocations: 209.7 kB / 22.24 MB, free: 3.57 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.9821/0.9821, allocations: 230.6 MB / 256 MB, free: 9.594 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.8144/0.8144, allocations: 203.5 MB / 0.5039 GB, free: 10.71 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.RealVectorReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator,fileNamePrefix="IDEAS_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.001397/0.001397, allocations: 68.48 kB / 0.7178 GB, free: 4.41 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5542/0.5556, allocations: 102 MB / 0.8174 GB, free: 1.238 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001393/0.557, allocations: 0.6458 MB / 0.818 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000673/0.5577, allocations: 0.8224 MB / 0.8188 GB, free: 228 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.555e-05/0.5577, allocations: 3.938 kB / 0.8188 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.568e-05/0.5578, allocations: 1.922 kB / 0.8188 GB, free: 224 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.511e-05/0.5579, allocations: 14.64 kB / 0.8188 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 5.872e-05/0.558, allocations: 4.219 kB / 0.8188 GB, free: 212 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.5581, allocations: 61.92 kB / 0.8189 GB, free: 184 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.5582, allocations: 11.33 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.409e-05/0.5583, allocations: 28.59 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.216e-05/0.5583, allocations: 36.11 kB / 0.819 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.5584, allocations: 1.969 kB / 0.819 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.5584, allocations: 3.125 kB / 0.819 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.853e-05/0.5584, allocations: 25.81 kB / 0.819 GB, free: 144 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.162e-05/0.5585, allocations: 26.11 kB / 0.819 GB, free: 124 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001184/0.5586, allocations: 67.5 kB / 0.8191 GB, free: 104 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5586, allocations: 4 kB / 0.8191 GB, free: 100 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5586, allocations: 6.625 kB / 0.8191 GB, free: 96 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.5586, allocations: 0 / 0.8191 GB, free: 96 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000473/0.5591, allocations: 311.4 kB / 0.8194 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.5591, allocations: 9.969 kB / 0.8194 GB, free: 15.81 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.293e-05/0.5591, allocations: 40.06 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.272e-05/0.5592, allocations: 4.875 kB / 0.8194 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.5593, allocations: 132.7 kB / 0.8196 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.5593, allocations: 1.438 kB / 0.8196 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.046e-05/0.5593, allocations: 9.25 kB / 0.8196 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002496/0.5596, allocations: 132.2 kB / 0.8197 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.5596, allocations: 3.938 kB / 0.8197 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.5596, allocations: 4 kB / 0.8197 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.5596, allocations: 1.766 kB / 0.8197 GB, free: 15.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002156/0.5598, allocations: 132 kB / 0.8198 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004315/0.5602, allocations: 389.5 kB / 0.8202 GB, free: 15.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.5604, allocations: 85.97 kB / 0.8203 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.5605, allocations: 71.92 kB / 0.8204 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.198e-05/0.5605, allocations: 4 kB / 0.8204 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.5605, allocations: 34.16 kB / 0.8204 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.573e-06/0.5605, allocations: 0 / 0.8204 GB, free: 15.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003907/0.5609, allocations: 190.7 kB / 0.8206 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.561, allocations: 79.11 kB / 0.8206 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.561, allocations: 132.7 kB / 0.8208 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.561, allocations: 26.22 kB / 0.8208 GB, free: 14.77 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.5611, allocations: 101.6 kB / 0.8209 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.866e-05/0.5611, allocations: 5.703 kB / 0.8209 GB, free: 14.66 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.5611, allocations: 17.89 kB / 0.8209 GB, free: 14.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.782e-05/0.5612, allocations: 314 kB / 0.8212 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/0.5613, allocations: 51.16 kB / 0.8213 GB, free: 14.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.5614, allocations: 71.58 kB / 0.8213 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.5616, allocations: 102 kB / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.5616, allocations: 0 / 0.8214 GB, free: 14.28 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002267/0.5619, allocations: 143.4 kB / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.5619, allocations: 9.859 kB / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.5619, allocations: 0 / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.5619, allocations: 0 / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-05/0.562, allocations: 17.3 kB / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.562, allocations: 3.969 kB / 0.8216 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.453e-05/0.562, allocations: 24.02 kB / 0.8216 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.562, allocations: 4 kB / 0.8216 GB, free: 14.21 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: 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.275e-05/0.5621, allocations: 125.2 kB / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.958e-05/0.5621, allocations: 2.156 kB / 0.8217 GB, free: 14.09 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.556e-05/0.5621, allocations: 16.28 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.5621, allocations: 0 / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.5622, allocations: 1.156 kB / 0.8218 GB, free: 14.08 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.5622, allocations: 7.875 kB / 0.8218 GB, free: 14.07 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001547/0.5623, allocations: 145.2 kB / 0.8219 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.5623, allocations: 0 / 0.8219 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.337e-05/0.5624, allocations: 19.14 kB / 0.8219 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.5624, allocations: 4 kB / 0.8219 GB, free: 13.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.5624, allocations: 6.812 kB / 0.8219 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.5624, allocations: 0.7969 kB / 0.8219 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5624, allocations: 0 / 0.8219 GB, free: 13.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.5626, allocations: 313.4 kB / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.183e-06/0.5627, allocations: 3.297 kB / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.094e-05/0.5627, allocations: 1.078 kB / 0.8222 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.583e-05/0.5627, allocations: 18.88 kB / 0.8223 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.5628, allocations: 20.23 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.409e-06/0.5628, allocations: 2.219 kB / 0.8223 GB, free: 13.66 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.395e-05/0.5628, allocations: 98.83 kB / 0.8224 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.5628, allocations: 0 / 0.8224 GB, free: 13.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000174/0.563, allocations: 14.14 kB / 0.8224 GB, free: 13.57 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: 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.0004934/0.5635, allocations: 0.8331 MB / 0.8232 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002431/0.5637, allocations: 111.1 kB / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5637, allocations: 0 / 0.8233 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001103/0.5639, allocations: 66.7 kB / 0.8234 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.5641, allocations: 13.25 kB / 0.8234 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.5655, allocations: 1.587 MB / 0.8249 GB, free: 11.47 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.929e-05/0.5656, allocations: 83.05 kB / 0.825 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.268e-05/0.5656, allocations: 14.05 kB / 0.825 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.687e-05/0.5657, allocations: 18.86 kB / 0.825 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of SimCode: time 6.12e-07/0.5657, allocations: 4.031 kB / 0.8251 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.5839, allocations: 2.417 MB / 0.8274 GB, free: 10.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.62/7.204, allocations: 23.42 kB / 0.8274 GB, free: 10.48 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.29775036778301] Failed to read output from testmodel.py, exit status != 0: 7.281239588744938 7.296644065 6.735675159 Calling exit ...