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.0009959/0.0009959, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008936/0.0008936, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.8878/0.8878, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.7357/0.7357, allocations: 154.6 MB / 413.8 MB, free: 0.8125 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 3.357e-06/3.357e-06, allocations: 0 / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.453e-05/2.788e-05, allocations: 9.312 kB / 0.6181 GB, free: 13.66 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001773/0.001801, allocations: 0.6637 MB / 0.6187 GB, free: 12.99 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007745/0.002575, allocations: 0.8471 MB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.002629, allocations: 3.938 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001062/0.002735, allocations: 7.984 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001118/0.002847, allocations: 19.8 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001177/0.002964, allocations: 11.98 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.003087, allocations: 75.81 kB / 0.6197 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.003242, allocations: 19.97 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.294e-05/0.003325, allocations: 59.83 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.003426, allocations: 39.89 kB / 0.6198 GB, free: 11.9 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.003456, allocations: 8 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.003468, allocations: 4 kB / 0.6198 GB, free: 11.89 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.518e-05/0.003523, allocations: 23.97 kB / 0.6198 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.807e-05/0.003561, allocations: 23.92 kB / 0.6199 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.003698, allocations: 95.72 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.003702, allocations: 0 / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.613e-06/0.003703, allocations: 0 / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.00371, allocations: 0 / 0.6199 GB, free: 11.75 MB / 0.5886 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.000557/0.004267, allocations: 326.1 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.004311, allocations: 8.031 kB / 0.6203 GB, free: 11.39 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.004347, allocations: 42.73 kB / 0.6203 GB, free: 11.34 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.648e-05/0.004373, allocations: 12.83 kB / 0.6203 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001358/0.004509, allocations: 133.6 kB / 0.6204 GB, free: 11.17 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.46e-05/0.004534, allocations: 8.375 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.004546, allocations: 4.375 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002289/0.004775, allocations: 163.8 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.812e-06/0.004781, allocations: 4.188 kB / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.004791, allocations: 384 / 0.6206 GB, free: 10.98 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.004798, allocations: 8.125 kB / 0.6206 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005136/0.005312, allocations: 151.8 kB / 0.6208 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.005716, allocations: 403.9 kB / 0.6212 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001607/0.005877, allocations: 117.1 kB / 0.6213 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.005983, allocations: 73.7 kB / 0.6213 GB, free: 10.17 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.005999, allocations: 11.88 kB / 0.6214 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.006017, allocations: 30.56 kB / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 7.01e-07/0.006018, allocations: 0 / 0.6214 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0004293/0.006447, allocations: 233.3 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/0.006484, allocations: 77.11 kB / 0.6217 GB, free: 9.793 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.625e-05/0.00656, allocations: 121.8 kB / 0.6218 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.006574, allocations: 29.7 kB / 0.6218 GB, free: 9.629 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.516e-05/0.006619, allocations: 104 kB / 0.6219 GB, free: 9.523 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.637e-05/0.006636, allocations: 11.89 kB / 0.6219 GB, free: 9.512 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.313e-05/0.006669, allocations: 25.95 kB / 0.622 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.946e-05/0.006748, allocations: 322.8 kB / 0.6223 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001018/0.00685, allocations: 63.92 kB / 0.6223 GB, free: 9.094 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001013/0.006952, allocations: 77.62 kB / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001874/0.007139, allocations: 133.5 kB / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.007141, allocations: 0 / 0.6225 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002216/0.007362, allocations: 161.5 kB / 0.6227 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.007376, allocations: 4 kB / 0.6227 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.007381, allocations: 0 / 0.6227 GB, free: 8.707 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.007397, allocations: 8 kB / 0.6227 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000102/0.007499, allocations: 23.97 kB / 0.6227 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.007505, allocations: 0 / 0.6227 GB, free: 8.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.007554, allocations: 19.97 kB / 0.6227 GB, free: 8.656 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.007562, allocations: 3.938 kB / 0.6227 GB, free: 8.652 MB / 0.5886 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.302e-05/0.007645, allocations: 126.8 kB / 0.6229 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.478e-05/0.007669, allocations: 7.953 kB / 0.6229 GB, free: 8.512 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.007692, allocations: 15.56 kB / 0.6229 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.007693, allocations: 0 / 0.6229 GB, free: 8.496 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.007698, allocations: 8 kB / 0.6229 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.007701, allocations: 0 / 0.6229 GB, free: 8.488 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.007864, allocations: 160.8 kB / 0.623 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.007866, allocations: 7.984 kB / 0.6231 GB, free: 8.281 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.371e-05/0.00792, allocations: 23.97 kB / 0.6231 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.01e-07/0.007921, allocations: 384 / 0.6231 GB, free: 8.258 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.007931, allocations: 8 kB / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.007932, allocations: 0 / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.007933, allocations: 96 / 0.6231 GB, free: 8.25 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003274/0.008261, allocations: 346.5 kB / 0.6234 GB, free: 7.895 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.262e-06/0.008267, allocations: 3.953 kB / 0.6234 GB, free: 7.891 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.008279, allocations: 4 kB / 0.6234 GB, free: 7.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.633e-05/0.008355, allocations: 15.97 kB / 0.6234 GB, free: 7.871 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.834e-05/0.008414, allocations: 23.97 kB / 0.6235 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.008419, allocations: 11.92 kB / 0.6235 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.485e-05/0.008453, allocations: 95.2 kB / 0.6236 GB, free: 7.742 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008453, allocations: 4 kB / 0.6236 GB, free: 7.738 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001711/0.008625, allocations: 15.94 kB / 0.6236 GB, free: 7.723 MB / 0.5886 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.000451/0.009076, allocations: 0.86 MB / 0.6244 GB, free: 6.832 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002477/0.009323, allocations: 147.8 kB / 0.6246 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.009325, allocations: 0 / 0.6246 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001162/0.009441, allocations: 83.89 kB / 0.6246 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.009669, allocations: 10.06 kB / 0.6246 GB, free: 6.598 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001308/0.01098, allocations: 1.691 MB / 0.6263 GB, free: 4.816 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.946e-05/0.01104, allocations: 83.33 kB / 0.6264 GB, free: 4.715 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.459e-05/0.01108, allocations: 19.98 kB / 0.6264 GB, free: 4.695 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.01113, allocations: 28.48 kB / 0.6264 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of SimCode: time 4.91e-07/0.01113, allocations: 0 / 0.6264 GB, free: 4.668 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/0.02614, allocations: 3.115 MB / 0.6295 GB, free: 1.715 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.885/6.911, allocations: 6.516 kB / 0.6295 GB, free: 1.711 MB / 0.5886 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: 9.71622076164931] Failed to read output from testmodel.py, exit status != 0: 6.9911864614114165 7.00667984 6.999991296 Calling exit ...