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.0008176/0.0008176, 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.0008725/0.0008725, 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.9177/0.9177, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.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.7408/0.7408, allocations: 154.6 MB / 413.7 MB, free: 0.8359 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 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: Performance of FrontEnd - loaded program: time 2.936e-06/2.936e-06, allocations: 0 / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.939e-05, allocations: 5.375 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.002189/0.002218, allocations: 0.6349 MB / 0.6187 GB, free: 13.12 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0009836/0.003202, allocations: 0.8237 MB / 0.6195 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.922e-05/0.003261, allocations: 0 / 0.6195 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001128/0.003374, allocations: 3.984 kB / 0.6195 GB, free: 12.28 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0001069/0.003481, allocations: 11.88 kB / 0.6195 GB, free: 12.27 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 6.391e-05/0.003545, allocations: 11.98 kB / 0.6195 GB, free: 12.25 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001103/0.003655, allocations: 59.83 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.003786, allocations: 8 kB / 0.6196 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.502e-05/0.003861, allocations: 35.91 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 8.716e-05/0.003948, allocations: 31.95 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.003973, allocations: 4 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 8.807e-06/0.003981, allocations: 4 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.874e-05/0.00403, allocations: 19.92 kB / 0.6196 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.727e-05/0.004067, allocations: 19.92 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.004185, allocations: 75.83 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.004191, allocations: 3.938 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.794e-06/0.004192, allocations: 0 / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.142e-06/0.004199, allocations: 0 / 0.6197 GB, free: 12 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000532/0.004731, allocations: 310.1 kB / 0.62 GB, free: 11.66 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.307e-05/0.004784, allocations: 13.47 kB / 0.6201 GB, free: 11.65 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.36e-05/0.004827, allocations: 34.75 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.641e-05/0.004854, allocations: 8.891 kB / 0.6201 GB, free: 11.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.005009, allocations: 129.7 kB / 0.6202 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.186e-05/0.005021, allocations: 8.375 kB / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.169e-05/0.005033, allocations: 384 / 0.6202 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002672/0.0053, allocations: 135.8 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.617e-06/0.005309, allocations: 192 / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.005323, allocations: 8.375 kB / 0.6204 GB, free: 11.29 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.031e-05/0.005334, allocations: 4.125 kB / 0.6204 GB, free: 11.28 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002152/0.005549, allocations: 127.8 kB / 0.6205 GB, free: 11.16 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005469/0.006096, allocations: 392 kB / 0.6209 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.006242, allocations: 93.03 kB / 0.621 GB, free: 10.62 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.006343, allocations: 69.69 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.24e-05/0.006355, allocations: 4 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.006383, allocations: 34.56 kB / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 2.103e-06/0.006385, allocations: 0 / 0.6211 GB, free: 10.5 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.000407/0.006792, allocations: 189.4 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.932e-05/0.006851, allocations: 77.36 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.006961, allocations: 125.8 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.006978, allocations: 25.7 kB / 0.6215 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.91e-05/0.007047, allocations: 96.03 kB / 0.6215 GB, free: 9.949 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.007073, allocations: 7.891 kB / 0.6216 GB, free: 9.941 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.692e-05/0.00711, allocations: 13.72 kB / 0.6216 GB, free: 9.922 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.007234, allocations: 326.8 kB / 0.6219 GB, free: 9.594 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/0.007353, allocations: 55.86 kB / 0.6219 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.007458, allocations: 65.66 kB / 0.622 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.007639, allocations: 105.6 kB / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.007642, allocations: 0 / 0.6221 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002282/0.00787, allocations: 145.5 kB / 0.6222 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.368e-05/0.007894, allocations: 8 kB / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.007902, allocations: 0 / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/0.007923, allocations: 0 / 0.6222 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001093/0.008032, allocations: 19.97 kB / 0.6223 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.008045, allocations: 0 / 0.6223 GB, free: 9.184 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.441e-05/0.008089, allocations: 11.98 kB / 0.6223 GB, free: 9.172 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.17e-05/0.008101, allocations: 8.062 kB / 0.6223 GB, free: 9.164 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: 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 8.79e-05/0.008189, allocations: 126.8 kB / 0.6224 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.406e-05/0.008213, allocations: 0 / 0.6224 GB, free: 9.031 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.23e-05/0.008245, allocations: 15.45 kB / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.008248, allocations: 0 / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.008254, allocations: 0 / 0.6224 GB, free: 9.012 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.00826, allocations: 4 kB / 0.6224 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.008454, allocations: 148.7 kB / 0.6226 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.008456, allocations: 384 / 0.6226 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.384e-05/0.008509, allocations: 23.91 kB / 0.6226 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.008513, allocations: 4 kB / 0.6226 GB, free: 8.793 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.101e-05/0.008524, allocations: 4 kB / 0.6226 GB, free: 8.789 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.008526, allocations: 3.938 kB / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.008527, allocations: 0 / 0.6226 GB, free: 8.785 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003044/0.008831, allocations: 314.6 kB / 0.6229 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.081e-05/0.008842, allocations: 0 / 0.6229 GB, free: 8.461 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.008858, allocations: 4 kB / 0.6229 GB, free: 8.457 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.352e-05/0.008931, allocations: 20 kB / 0.6229 GB, free: 8.438 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.00899, allocations: 7.984 kB / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.008993, allocations: 0 / 0.6229 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.094e-05/0.009044, allocations: 103.2 kB / 0.623 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.009044, allocations: 0 / 0.623 GB, free: 8.328 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001724/0.009217, allocations: 15.89 kB / 0.623 GB, free: 8.312 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: 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.0004986/0.009716, allocations: 0.8327 MB / 0.6239 GB, free: 7.449 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002335/0.009949, allocations: 115.8 kB / 0.624 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.009951, allocations: 0 / 0.624 GB, free: 7.336 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.575e-05/0.01005, allocations: 64.08 kB / 0.624 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002566/0.0103, allocations: 11.98 kB / 0.624 GB, free: 7.262 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.01167, allocations: 1.585 MB / 0.6256 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.818e-05/0.01175, allocations: 83.31 kB / 0.6257 GB, free: 5.488 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.772e-05/0.0118, allocations: 15.98 kB / 0.6257 GB, free: 5.473 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.01185, allocations: 16.5 kB / 0.6257 GB, free: 5.457 MB / 0.5886 GB Notification: Performance of SimCode: time 6.51e-07/0.01185, allocations: 4.031 kB / 0.6257 GB, free: 5.453 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.03254, allocations: 2.563 MB / 0.6282 GB, free: 3.059 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.707/6.739, allocations: 7.109 kB / 0.6282 GB, free: 3.055 MB / 0.5886 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 9.534827540628612] Failed to read output from testmodel.py, exit status != 0: 6.8233794225379825 6.835058177 6.828956195 Calling exit ...