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.001668/0.001668, allocations: 72.45 kB / 19.02 MB, free: 1.129 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.001477/0.001477, allocations: 163.2 kB / 22.29 MB, free: 3.523 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 1.401/1.401, allocations: 177.2 MB / 202.7 MB, free: 4.82 MB / 186.7 MB " [Timeout remaining time 178] 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 1.248/1.248, allocations: 154.7 MB / 413.8 MB, free: 3.152 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: 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.002801/0.002801, allocations: 64.66 kB / 0.6181 GB, free: 1.145 MB / 0.5105 GB [/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. Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.212, allocations: 102 MB / 0.7176 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerVectorReplicator): time 0.002063/0.214, allocations: 0.6525 MB / 0.7183 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001225/0.2153, allocations: 0.8588 MB / 0.7191 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.356e-05/0.2153, allocations: 0 / 0.7191 GB, free: 9.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.2154, allocations: 3.938 kB / 0.7191 GB, free: 9.746 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.586e-05/0.2155, allocations: 11.92 kB / 0.7191 GB, free: 9.734 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001194/0.2156, allocations: 19.97 kB / 0.7192 GB, free: 9.715 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.2158, allocations: 71.78 kB / 0.7192 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.2159, allocations: 23.95 kB / 0.7192 GB, free: 9.621 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.692e-05/0.216, allocations: 43.92 kB / 0.7193 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001198/0.2161, allocations: 51.81 kB / 0.7193 GB, free: 9.527 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.405e-05/0.2162, allocations: 4 kB / 0.7193 GB, free: 9.523 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.849e-05/0.2162, allocations: 8 kB / 0.7193 GB, free: 9.516 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.834e-05/0.2162, allocations: 19.98 kB / 0.7194 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.925e-05/0.2163, allocations: 27.86 kB / 0.7194 GB, free: 9.469 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.2164, allocations: 99.55 kB / 0.7195 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.2164, allocations: 0 / 0.7195 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2164, allocations: 0 / 0.7195 GB, free: 9.371 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.2165, allocations: 4 kB / 0.7195 GB, free: 9.367 MB / 0.6198 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.0006818/0.2171, allocations: 326 kB / 0.7198 GB, free: 9.016 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.2172, allocations: 12.03 kB / 0.7198 GB, free: 9.004 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.379e-05/0.2172, allocations: 34.73 kB / 0.7198 GB, free: 8.961 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.18e-05/0.2173, allocations: 12.83 kB / 0.7199 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.2175, allocations: 138.5 kB / 0.72 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.2175, allocations: 12.38 kB / 0.72 GB, free: 8.777 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.2175, allocations: 4.375 kB / 0.72 GB, free: 8.773 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004019/0.2179, allocations: 163.8 kB / 0.7202 GB, free: 8.602 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.2179, allocations: 11.88 kB / 0.7202 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.218, allocations: 0 / 0.7202 GB, free: 8.59 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.218, allocations: 4 kB / 0.7202 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004962/0.2185, allocations: 151.8 kB / 0.7203 GB, free: 8.438 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006282/0.2191, allocations: 399.9 kB / 0.7207 GB, free: 8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003364/0.2194, allocations: 117.1 kB / 0.7208 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002319/0.2197, allocations: 73.7 kB / 0.7209 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.2197, allocations: 0 / 0.7209 GB, free: 7.789 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.374e-05/0.2197, allocations: 42.55 kB / 0.7209 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.2197, allocations: 0 / 0.7209 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0008358/0.2205, allocations: 225.4 kB / 0.7211 GB, free: 7.512 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.2206, allocations: 85.05 kB / 0.7212 GB, free: 7.41 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.2207, allocations: 125.8 kB / 0.7213 GB, free: 7.277 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.294e-05/0.2207, allocations: 25.7 kB / 0.7214 GB, free: 7.246 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.071e-05/0.2208, allocations: 104.1 kB / 0.7215 GB, free: 7.141 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.2208, allocations: 11.95 kB / 0.7215 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-05/0.2209, allocations: 21.7 kB / 0.7215 GB, free: 7.102 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.221, allocations: 319.1 kB / 0.7218 GB, free: 6.781 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002457/0.2213, allocations: 63.91 kB / 0.7219 GB, free: 6.719 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002221/0.2215, allocations: 81.58 kB / 0.7219 GB, free: 6.633 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004086/0.2219, allocations: 125.6 kB / 0.7221 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.2219, allocations: 0 / 0.7221 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0005081/0.2224, allocations: 169.4 kB / 0.7222 GB, free: 6.332 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.783e-05/0.2224, allocations: 6.25 kB / 0.7222 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2225, allocations: 0 / 0.7222 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2225, allocations: 0 / 0.7222 GB, free: 6.328 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.2227, allocations: 32.03 kB / 0.7223 GB, free: 6.297 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.2227, allocations: 7.875 kB / 0.7223 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001153/0.2228, allocations: 19.91 kB / 0.7223 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.2228, allocations: 4 kB / 0.7223 GB, free: 6.266 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: 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 0.0001205/0.2229, allocations: 129.8 kB / 0.7224 GB, free: 6.129 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.13e-05/0.2229, allocations: 0 / 0.7224 GB, free: 6.129 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.415e-05/0.223, allocations: 15.61 kB / 0.7224 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.223, allocations: 0 / 0.7224 GB, free: 6.113 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/0.223, allocations: 11.94 kB / 0.7224 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.223, allocations: 0 / 0.7224 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000286/0.2233, allocations: 164.7 kB / 0.7226 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2233, allocations: 0 / 0.7226 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.2234, allocations: 23.97 kB / 0.7226 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.2234, allocations: 0 / 0.7226 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.2234, allocations: 0 / 0.7226 GB, free: 5.875 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.2235, allocations: 4 kB / 0.7226 GB, free: 5.871 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.2235, allocations: 3.938 kB / 0.7226 GB, free: 5.867 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000575/0.224, allocations: 334.6 kB / 0.7229 GB, free: 5.523 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.196e-05/0.2241, allocations: 8.094 kB / 0.723 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.724e-05/0.2241, allocations: 0 / 0.723 GB, free: 5.516 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001774/0.2242, allocations: 15.97 kB / 0.723 GB, free: 5.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.031e-05/0.2243, allocations: 35.89 kB / 0.723 GB, free: 5.465 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.104e-05/0.2243, allocations: 3.984 kB / 0.723 GB, free: 5.461 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.903e-05/0.2244, allocations: 95.27 kB / 0.7231 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.2244, allocations: 0 / 0.7231 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002793/0.2247, allocations: 16 kB / 0.7231 GB, free: 5.352 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: 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.0009639/0.2257, allocations: 0.8678 MB / 0.724 GB, free: 4.457 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005195/0.2262, allocations: 135.8 kB / 0.7241 GB, free: 4.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.2262, allocations: 0 / 0.7241 GB, free: 4.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002567/0.2264, allocations: 95.77 kB / 0.7242 GB, free: 4.227 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003568/0.2268, allocations: 16.2 kB / 0.7242 GB, free: 4.211 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002712/0.2295, allocations: 1.691 MB / 0.7258 GB, free: 2.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001036/0.2296, allocations: 87.08 kB / 0.7259 GB, free: 2.324 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.87e-05/0.2297, allocations: 19.98 kB / 0.726 GB, free: 2.305 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.461e-05/0.2298, allocations: 28.48 kB / 0.726 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of SimCode: time 6.92e-07/0.2298, allocations: 0 / 0.726 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03146/0.2612, allocations: 3.117 MB / 0.729 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.1/11.36, allocations: 3.938 kB / 0.729 GB, free: 15.29 MB / 0.6355 GB " [Timeout remaining time 649] (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: 15.443887194996933] Failed to read output from testmodel.py, exit status != 0: 11.497085044989944 11.514585099 11.294174569 Calling exit ...