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.0008301/0.0008301, allocations: 80.44 kB / 19.17 MB, free: 0.7344 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.0009692/0.0009692, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.9071/0.9071, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.7102/0.7102, allocations: 154.6 MB / 413.7 MB, free: 0.8008 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: Performance of FrontEnd - loaded program: time 3.085e-06/3.085e-06, allocations: 0 / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.224e-05/2.533e-05, allocations: 5.344 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealVectorReplicator): time 0.0017/0.001725, allocations: 0.6339 MB / 0.6187 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0007479/0.002473, allocations: 0.8198 MB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.861e-05/0.002522, allocations: 4 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.096e-05/0.002613, allocations: 3.938 kB / 0.6195 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 9.248e-05/0.002705, allocations: 11.91 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 5.875e-05/0.002764, allocations: 8 kB / 0.6195 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.581e-05/0.00286, allocations: 59.83 kB / 0.6196 GB, free: 12.12 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.002982, allocations: 15.98 kB / 0.6196 GB, free: 12.1 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.674e-05/0.003049, allocations: 35.86 kB / 0.6197 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.487e-05/0.003124, allocations: 27.95 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.003145, allocations: 4 kB / 0.6197 GB, free: 12.04 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 7.695e-06/0.003153, allocations: 7.938 kB / 0.6197 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.338e-05/0.003206, allocations: 23.97 kB / 0.6197 GB, free: 12 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.091e-05/0.003237, allocations: 15.94 kB / 0.6197 GB, free: 11.99 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.003338, allocations: 79.69 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.00334, allocations: 0 / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.001e-06/0.003341, allocations: 4 kB / 0.6198 GB, free: 11.91 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.003346, allocations: 4 kB / 0.6198 GB, free: 11.9 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.0003962/0.003742, allocations: 308.4 kB / 0.6201 GB, free: 11.57 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/0.003779, allocations: 12.03 kB / 0.6201 GB, free: 11.56 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.017e-05/0.003809, allocations: 34.75 kB / 0.6201 GB, free: 11.52 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.158e-05/0.00383, allocations: 8.891 kB / 0.6202 GB, free: 11.51 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.003949, allocations: 125.7 kB / 0.6203 GB, free: 11.36 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.818e-06/0.003958, allocations: 8.375 kB / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.967e-06/0.003967, allocations: 384 / 0.6203 GB, free: 11.35 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.004192, allocations: 135.8 kB / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.004199, allocations: 192 / 0.6204 GB, free: 11.21 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.788e-06/0.004209, allocations: 4.375 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.004214, allocations: 4.125 kB / 0.6204 GB, free: 11.2 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.004396, allocations: 127.8 kB / 0.6205 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003904/0.004786, allocations: 392 kB / 0.6209 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.004909, allocations: 93.08 kB / 0.621 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.802e-05/0.004997, allocations: 61.7 kB / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.086e-05/0.005008, allocations: 0 / 0.6211 GB, free: 10.47 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.005027, allocations: 38.56 kB / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.005028, allocations: 0 / 0.6211 GB, free: 10.42 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003494/0.005378, allocations: 189.4 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.005413, allocations: 85.05 kB / 0.6214 GB, free: 10.13 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.584e-05/0.005479, allocations: 121.7 kB / 0.6215 GB, free: 10 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.005489, allocations: 25.7 kB / 0.6215 GB, free: 9.969 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.287e-05/0.005532, allocations: 108.3 kB / 0.6216 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.005549, allocations: 7.938 kB / 0.6216 GB, free: 9.852 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.542e-05/0.005575, allocations: 13.72 kB / 0.6216 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.318e-05/0.005648, allocations: 326.8 kB / 0.6219 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.119e-05/0.005739, allocations: 47.94 kB / 0.622 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.435e-05/0.005824, allocations: 61.64 kB / 0.622 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001576/0.005981, allocations: 109.7 kB / 0.6222 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.005983, allocations: 0 / 0.6222 GB, free: 9.277 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001963/0.006179, allocations: 137.5 kB / 0.6223 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.006194, allocations: 12.06 kB / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.939e-06/0.006199, allocations: 0 / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.11e-05/0.00621, allocations: 0 / 0.6223 GB, free: 9.125 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.983e-05/0.006289, allocations: 19.97 kB / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.006294, allocations: 0 / 0.6223 GB, free: 9.105 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.086e-05/0.006335, allocations: 19.97 kB / 0.6223 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.361e-06/0.006341, allocations: 0 / 0.6223 GB, free: 9.086 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 6.261e-05/0.006404, allocations: 130.8 kB / 0.6225 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.818e-05/0.006422, allocations: 7.938 kB / 0.6225 GB, free: 8.941 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.006443, allocations: 11.42 kB / 0.6225 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.006445, allocations: 0 / 0.6225 GB, free: 8.93 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.00645, allocations: 4 kB / 0.6225 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.006452, allocations: 0 / 0.6225 GB, free: 8.926 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002175/0.00667, allocations: 148.7 kB / 0.6226 GB, free: 8.738 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.006671, allocations: 4 kB / 0.6226 GB, free: 8.734 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.594e-05/0.006717, allocations: 15.97 kB / 0.6226 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.006719, allocations: 4 kB / 0.6226 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-06/0.006726, allocations: 0 / 0.6226 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.006727, allocations: 4 kB / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.006729, allocations: 0 / 0.6226 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.006968, allocations: 318.6 kB / 0.623 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.984e-06/0.006975, allocations: 3.984 kB / 0.623 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.849e-06/0.006985, allocations: 3.938 kB / 0.623 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.00706, allocations: 24.3 kB / 0.623 GB, free: 8.352 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.007098, allocations: 8.016 kB / 0.623 GB, free: 8.344 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.455e-06/0.0071, allocations: 4 kB / 0.623 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.557e-05/0.007136, allocations: 99.19 kB / 0.6231 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007136, allocations: 0 / 0.6231 GB, free: 8.242 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001651/0.007301, allocations: 19.89 kB / 0.6231 GB, free: 8.223 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.0003916/0.007692, allocations: 0.8328 MB / 0.6239 GB, free: 7.359 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.007901, allocations: 111.8 kB / 0.624 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.007902, allocations: 0 / 0.624 GB, free: 7.25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.417e-05/0.007996, allocations: 63.92 kB / 0.6241 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002306/0.008227, allocations: 12.25 kB / 0.6241 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.009446, allocations: 1.59 MB / 0.6257 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.053e-05/0.009506, allocations: 79.33 kB / 0.6257 GB, free: 5.395 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.592e-05/0.009542, allocations: 11.98 kB / 0.6257 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.492e-05/0.009587, allocations: 24.48 kB / 0.6258 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of SimCode: time 7.31e-07/0.009588, allocations: 0 / 0.6258 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.02407, allocations: 2.551 MB / 0.6283 GB, free: 2.965 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.52/6.544, allocations: 3.938 kB / 0.6283 GB, free: 2.961 MB / 0.5886 GB " [Timeout remaining time 653] (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: 9.161688268184662] Failed to read output from testmodel.py, exit status != 0: 6.624661083333194 6.637065275 6.631278587 Calling exit ...