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.001144/0.001144, 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.0009377/0.0009377, allocations: 165.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.8778/0.8778, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.7353/0.7353, allocations: 154.6 MB / 413.8 MB, free: 0.8086 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 2.284e-06/2.284e-06, allocations: 0 / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.296e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.001387/0.00141, allocations: 0.6487 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008634/0.002273, allocations: 0.8548 MB / 0.6196 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.00233, allocations: 4 kB / 0.6196 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.507e-05/0.002425, allocations: 11.92 kB / 0.6196 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.48e-05/0.00252, allocations: 7.922 kB / 0.6196 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001243/0.002644, allocations: 27.86 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.002749, allocations: 71.81 kB / 0.6197 GB, free: 12.09 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.002875, allocations: 23.91 kB / 0.6197 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 7.438e-05/0.002949, allocations: 47.89 kB / 0.6198 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 9.197e-05/0.003041, allocations: 43.89 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.759e-05/0.003069, allocations: 4 kB / 0.6198 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.291e-05/0.003081, allocations: 4 kB / 0.6198 GB, free: 11.96 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.779e-05/0.003139, allocations: 27.97 kB / 0.6198 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.003185, allocations: 31.91 kB / 0.6199 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.003314, allocations: 95.67 kB / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.003316, allocations: 0 / 0.6199 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.473e-06/0.003318, allocations: 4 kB / 0.62 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.003323, allocations: 0 / 0.62 GB, free: 11.81 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.0005155/0.003838, allocations: 322 kB / 0.6203 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/0.003884, allocations: 12.03 kB / 0.6203 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.687e-05/0.003921, allocations: 34.75 kB / 0.6203 GB, free: 11.41 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.00395, allocations: 8.891 kB / 0.6203 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.004301, allocations: 137.7 kB / 0.6204 GB, free: 11.24 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.233e-05/0.004333, allocations: 8.375 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.315e-05/0.004347, allocations: 4.375 kB / 0.6205 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002809/0.004627, allocations: 171 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.004636, allocations: 192 / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.004647, allocations: 384 / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.704e-06/0.004655, allocations: 4.125 kB / 0.6206 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002353/0.00489, allocations: 159.8 kB / 0.6208 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004628/0.005353, allocations: 395.9 kB / 0.6212 GB, free: 10.46 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001695/0.005522, allocations: 121.1 kB / 0.6213 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001066/0.005629, allocations: 77.7 kB / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.775e-05/0.005647, allocations: 0 / 0.6213 GB, free: 10.24 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.367e-05/0.00567, allocations: 38.55 kB / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.005671, allocations: 0 / 0.6214 GB, free: 10.19 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4): time 0.0004048/0.006076, allocations: 221.6 kB / 0.6216 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/0.006114, allocations: 89.09 kB / 0.6217 GB, free: 9.863 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.49e-05/0.006189, allocations: 129.7 kB / 0.6218 GB, free: 9.727 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.273e-05/0.006202, allocations: 25.7 kB / 0.6218 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.521e-05/0.006247, allocations: 104 kB / 0.6219 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.006265, allocations: 11.89 kB / 0.6219 GB, free: 9.578 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.417e-05/0.006299, allocations: 21.7 kB / 0.622 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.703e-05/0.006376, allocations: 322.8 kB / 0.6223 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.00648, allocations: 63.91 kB / 0.6223 GB, free: 9.164 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.783e-05/0.006578, allocations: 77.64 kB / 0.6224 GB, free: 9.082 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001847/0.006763, allocations: 125.6 kB / 0.6225 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.006765, allocations: 0 / 0.6225 GB, free: 8.953 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002341/0.006999, allocations: 169.4 kB / 0.6227 GB, free: 8.781 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.007014, allocations: 8 kB / 0.6227 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.007019, allocations: 0 / 0.6227 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.007032, allocations: 0 / 0.6227 GB, free: 8.773 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.00714, allocations: 23.97 kB / 0.6227 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.007146, allocations: 0 / 0.6227 GB, free: 8.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.696e-05/0.007193, allocations: 15.97 kB / 0.6227 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.957e-06/0.007202, allocations: 12 kB / 0.6227 GB, free: 8.723 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.297e-05/0.007285, allocations: 130.8 kB / 0.6229 GB, free: 8.586 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.007313, allocations: 15.92 kB / 0.6229 GB, free: 8.57 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.363e-05/0.007337, allocations: 15.58 kB / 0.6229 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.007339, allocations: 0 / 0.6229 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.007344, allocations: 0 / 0.6229 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.007347, allocations: 0 / 0.6229 GB, free: 8.555 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001747/0.007521, allocations: 168.8 kB / 0.6231 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.007523, allocations: 0 / 0.6231 GB, free: 8.348 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.509e-05/0.007588, allocations: 27.97 kB / 0.6231 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.007591, allocations: 4 kB / 0.6231 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/0.0076, allocations: 0 / 0.6231 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.007602, allocations: 0 / 0.6231 GB, free: 8.316 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.007603, allocations: 4 kB / 0.6231 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.007909, allocations: 334.5 kB / 0.6234 GB, free: 7.969 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.223e-05/0.007921, allocations: 7.953 kB / 0.6234 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.961e-05/0.007941, allocations: 8 kB / 0.6234 GB, free: 7.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.864e-05/0.008019, allocations: 15.97 kB / 0.6234 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.133e-05/0.008091, allocations: 23.97 kB / 0.6235 GB, free: 7.914 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.008096, allocations: 3.984 kB / 0.6235 GB, free: 7.91 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 4.277e-05/0.008139, allocations: 103.5 kB / 0.6236 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.008139, allocations: 0 / 0.6236 GB, free: 7.809 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001812/0.00832, allocations: 16 kB / 0.6236 GB, free: 7.793 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.0004745/0.008795, allocations: 0.8638 MB / 0.6244 GB, free: 6.898 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002622/0.009057, allocations: 135.8 kB / 0.6246 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.009059, allocations: 0 / 0.6246 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.009186, allocations: 95.95 kB / 0.6246 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.009428, allocations: 10.05 kB / 0.6247 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.01085, allocations: 1.68 MB / 0.6263 GB, free: 4.891 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.014e-05/0.01093, allocations: 83.31 kB / 0.6264 GB, free: 4.789 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 5.075e-05/0.01098, allocations: 19.98 kB / 0.6264 GB, free: 4.77 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.845e-05/0.01104, allocations: 24.5 kB / 0.6264 GB, free: 4.746 MB / 0.5886 GB Notification: Performance of SimCode: time 7.31e-07/0.01104, allocations: 0 / 0.6264 GB, free: 4.746 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01802/0.02906, allocations: 3.12 MB / 0.6295 GB, free: 1.793 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.563/6.592, allocations: 14.38 kB / 0.6295 GB, free: 1.781 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.259545397013426] Failed to read output from testmodel.py, exit status != 0: 6.6730050360783935 6.683266242 6.677714054 Calling exit ...