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.001765/0.001765, 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.002143/0.002143, 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.375/1.375, 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.21/1.21, allocations: 154.7 MB / 413.8 MB, free: 3.137 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.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.002032/0.002032, allocations: 71.45 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.211/0.213, allocations: 102 MB / 0.7176 GB, free: 11.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.001993/0.215, allocations: 0.6273 MB / 0.7183 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00103/0.216, allocations: 0.8242 MB / 0.7191 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.682e-05/0.2161, allocations: 0 / 0.7191 GB, free: 9.805 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 9.74e-05/0.2162, allocations: 7.922 kB / 0.7191 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.14e-05/0.2163, allocations: 8 kB / 0.7191 GB, free: 9.789 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 6.705e-05/0.2163, allocations: 7.984 kB / 0.7191 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003447/0.2167, allocations: 59.77 kB / 0.7191 GB, free: 9.723 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001182/0.2168, allocations: 19.92 kB / 0.7192 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 7.952e-05/0.2169, allocations: 35.91 kB / 0.7192 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.658e-05/0.217, allocations: 31.91 kB / 0.7192 GB, free: 9.637 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.886e-05/0.217, allocations: 4 kB / 0.7192 GB, free: 9.633 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.224e-05/0.217, allocations: 4 kB / 0.7192 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.363e-05/0.217, allocations: 23.92 kB / 0.7193 GB, free: 9.605 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.344e-05/0.2171, allocations: 19.92 kB / 0.7193 GB, free: 9.586 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.2172, allocations: 75.64 kB / 0.7193 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2172, allocations: 0 / 0.7193 GB, free: 9.512 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2172, allocations: 4 kB / 0.7193 GB, free: 9.508 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2172, allocations: 0 / 0.7193 GB, free: 9.508 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006027/0.2178, allocations: 318 kB / 0.7197 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/0.2179, allocations: 12.03 kB / 0.7197 GB, free: 9.152 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.011e-05/0.2179, allocations: 34.75 kB / 0.7197 GB, free: 9.109 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.496e-05/0.2179, allocations: 4.938 kB / 0.7197 GB, free: 9.105 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001884/0.2181, allocations: 126.5 kB / 0.7198 GB, free: 8.957 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.244e-05/0.2181, allocations: 4.375 kB / 0.7198 GB, free: 8.953 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/0.2181, allocations: 4.375 kB / 0.7198 GB, free: 8.949 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003505/0.2185, allocations: 135.8 kB / 0.72 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2185, allocations: 3.938 kB / 0.72 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.2185, allocations: 8 kB / 0.72 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2185, allocations: 0 / 0.72 GB, free: 8.793 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003936/0.2189, allocations: 131.8 kB / 0.7201 GB, free: 8.664 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006603/0.2196, allocations: 388 kB / 0.7205 GB, free: 8.238 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.2198, allocations: 97.08 kB / 0.7206 GB, free: 8.125 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002066/0.22, allocations: 61.7 kB / 0.7206 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.06e-05/0.22, allocations: 0 / 0.7206 GB, free: 8.059 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.2201, allocations: 34.56 kB / 0.7206 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.2201, allocations: 0 / 0.7206 GB, free: 8.016 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0007148/0.2208, allocations: 197.4 kB / 0.7208 GB, free: 7.816 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.839e-05/0.2208, allocations: 77.11 kB / 0.7209 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.2209, allocations: 129.7 kB / 0.721 GB, free: 7.586 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.786e-05/0.221, allocations: 25.7 kB / 0.7211 GB, free: 7.555 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.179e-05/0.221, allocations: 100.1 kB / 0.7212 GB, free: 7.453 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.056e-05/0.2211, allocations: 11.89 kB / 0.7212 GB, free: 7.441 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.766e-05/0.2211, allocations: 13.97 kB / 0.7212 GB, free: 7.422 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001501/0.2212, allocations: 322.8 kB / 0.7215 GB, free: 7.098 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001841/0.2214, allocations: 51.94 kB / 0.7215 GB, free: 7.047 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001779/0.2216, allocations: 61.64 kB / 0.7216 GB, free: 6.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00034/0.2219, allocations: 109.7 kB / 0.7217 GB, free: 6.867 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.2219, allocations: 3.938 kB / 0.7217 GB, free: 6.863 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000402/0.2224, allocations: 137.5 kB / 0.7218 GB, free: 6.723 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.67e-05/0.2224, allocations: 8 kB / 0.7218 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.2224, allocations: 0 / 0.7218 GB, free: 6.715 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.2224, allocations: 4.062 kB / 0.7218 GB, free: 6.711 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.2225, allocations: 15.98 kB / 0.7219 GB, free: 6.695 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.2225, allocations: 3.984 kB / 0.7219 GB, free: 6.691 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.788e-05/0.2226, allocations: 19.88 kB / 0.7219 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.2226, allocations: 4 kB / 0.7219 GB, free: 6.668 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 0.0001027/0.2227, allocations: 125.8 kB / 0.722 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.2228, allocations: 0 / 0.722 GB, free: 6.535 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.2228, allocations: 19.44 kB / 0.722 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.2228, allocations: 0 / 0.722 GB, free: 6.516 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.2228, allocations: 4 kB / 0.722 GB, free: 6.512 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.992e-06/0.2228, allocations: 7.938 kB / 0.722 GB, free: 6.504 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002408/0.223, allocations: 144.7 kB / 0.7222 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.223, allocations: 0 / 0.7222 GB, free: 6.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000105/0.2231, allocations: 15.98 kB / 0.7222 GB, free: 6.305 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.2232, allocations: 0 / 0.7222 GB, free: 6.305 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.148e-06/0.2232, allocations: 3.984 kB / 0.7222 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2232, allocations: 0 / 0.7222 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2232, allocations: 0 / 0.7222 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004821/0.2236, allocations: 314.6 kB / 0.7225 GB, free: 5.977 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.035e-05/0.2237, allocations: 7.938 kB / 0.7225 GB, free: 5.969 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.2237, allocations: 4.375 kB / 0.7225 GB, free: 5.965 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001458/0.2238, allocations: 15.97 kB / 0.7225 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.69e-05/0.2239, allocations: 11.92 kB / 0.7225 GB, free: 5.938 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.2239, allocations: 4 kB / 0.7225 GB, free: 5.934 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.9e-05/0.2239, allocations: 99.2 kB / 0.7226 GB, free: 5.836 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2239, allocations: 4.031 kB / 0.7226 GB, free: 5.832 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002558/0.2242, allocations: 11.95 kB / 0.7226 GB, free: 5.82 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.0008167/0.225, allocations: 0.825 MB / 0.7235 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004129/0.2254, allocations: 119.8 kB / 0.7236 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2254, allocations: 0 / 0.7236 GB, free: 4.852 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.2256, allocations: 63.92 kB / 0.7236 GB, free: 4.789 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.226, allocations: 17.73 kB / 0.7236 GB, free: 4.773 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.2282, allocations: 1.594 MB / 0.7252 GB, free: 3.094 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.601e-05/0.2282, allocations: 79.36 kB / 0.7253 GB, free: 2.996 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.322e-05/0.2283, allocations: 15.98 kB / 0.7253 GB, free: 2.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.046e-05/0.2284, allocations: 20.48 kB / 0.7253 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of SimCode: time 4.6e-07/0.2284, allocations: 0 / 0.7253 GB, free: 2.961 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03224/0.2606, allocations: 2.546 MB / 0.7278 GB, free: 0.5352 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.52, allocations: 11.88 kB / 0.7278 GB, free: 0.5273 MB / 0.6198 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealVectorReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 15.468224337993888] Failed to read output from testmodel.py, exit status != 0: 11.633188197010895 11.656208879 11.435289314 Calling exit ...