Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.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.0008386/0.0008386, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0009335/0.0009335, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9136/0.9136, 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.724/0.724, 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.RealScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.755e-06/2.755e-06, allocations: 0 / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.201e-05, allocations: 5.375 kB / 0.6181 GB, free: 13.7 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator): time 0.001405/0.001427, allocations: 0.6295 MB / 0.6187 GB, free: 13.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008314/0.002258, allocations: 0.8198 MB / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.392e-05/0.002312, allocations: 0 / 0.6195 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.002428, allocations: 11.92 kB / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.222e-05/0.00245, allocations: 0 / 0.6195 GB, free: 12.23 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001423/0.002592, allocations: 4 kB / 0.6195 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 9.452e-05/0.002687, allocations: 27.92 kB / 0.6196 GB, free: 12.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.002803, allocations: 7.984 kB / 0.6196 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.978e-05/0.002873, allocations: 23.86 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.381e-05/0.002936, allocations: 7.984 kB / 0.6196 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.488e-05/0.002961, allocations: 4 kB / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 6.072e-06/0.002967, allocations: 0 / 0.6196 GB, free: 12.15 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.534e-05/0.003033, allocations: 11.98 kB / 0.6196 GB, free: 12.14 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.202e-05/0.003065, allocations: 7.938 kB / 0.6196 GB, free: 12.13 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 8.512e-05/0.00315, allocations: 23.95 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.003154, allocations: 4 kB / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.673e-06/0.003156, allocations: 0 / 0.6196 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.003161, allocations: 0 / 0.6196 GB, free: 12.11 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003465/0.003508, allocations: 274.3 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.00355, allocations: 8.031 kB / 0.6199 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.721e-05/0.003587, allocations: 30.75 kB / 0.6199 GB, free: 11.76 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.14e-05/0.003608, allocations: 8.875 kB / 0.6199 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.003739, allocations: 121.7 kB / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.776e-06/0.003748, allocations: 384 / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.416e-06/0.003756, allocations: 384 / 0.6201 GB, free: 11.61 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001515/0.003908, allocations: 62.16 kB / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.003914, allocations: 192 / 0.6201 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.003924, allocations: 8.375 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.003929, allocations: 4.125 kB / 0.6201 GB, free: 11.53 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.748e-05/0.004006, allocations: 39.95 kB / 0.6202 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000277/0.004283, allocations: 228.1 kB / 0.6204 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 6.569e-05/0.004349, allocations: 38.44 kB / 0.6204 GB, free: 11.18 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.222e-05/0.004391, allocations: 20.91 kB / 0.6204 GB, free: 11.15 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 8.747e-06/0.0044, allocations: 7.938 kB / 0.6205 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.004418, allocations: 34.56 kB / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.004419, allocations: 0 / 0.6205 GB, free: 11.1 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001991/0.004618, allocations: 73.64 kB / 0.6206 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.934e-05/0.004647, allocations: 55.34 kB / 0.6206 GB, free: 10.96 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.899e-05/0.004706, allocations: 105.8 kB / 0.6207 GB, free: 10.84 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.197e-05/0.004718, allocations: 25.7 kB / 0.6207 GB, free: 10.81 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.378e-05/0.004762, allocations: 88.16 kB / 0.6208 GB, free: 10.72 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.466e-05/0.004777, allocations: 8 kB / 0.6208 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.639e-05/0.004803, allocations: 17.7 kB / 0.6208 GB, free: 10.69 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.794e-05/0.004881, allocations: 310.8 kB / 0.6211 GB, free: 10.38 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.514e-05/0.004926, allocations: 15.98 kB / 0.6212 GB, free: 10.36 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.278e-05/0.004959, allocations: 15.98 kB / 0.6212 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.961e-05/0.005029, allocations: 36.81 kB / 0.6212 GB, free: 10.31 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.00503, allocations: 4.062 kB / 0.6212 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.592e-05/0.005126, allocations: 65.56 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.005139, allocations: 8 kB / 0.6213 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.005143, allocations: 3.938 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.005156, allocations: 3.984 kB / 0.6213 GB, free: 10.22 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.588e-05/0.005212, allocations: 4 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.005216, allocations: 0 / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.117e-05/0.005237, allocations: 8.234 kB / 0.6213 GB, free: 10.21 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.005243, allocations: 11.97 kB / 0.6213 GB, free: 10.2 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.177e-05/0.005294, allocations: 110.8 kB / 0.6214 GB, free: 10.08 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.232e-05/0.005307, allocations: 3.938 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.567e-05/0.005322, allocations: 7.109 kB / 0.6214 GB, free: 10.07 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.005324, allocations: 4 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.00533, allocations: 3.984 kB / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-06/0.005332, allocations: 0 / 0.6214 GB, free: 10.06 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001038/0.005436, allocations: 132.7 kB / 0.6216 GB, free: 9.887 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.00544, allocations: 4 kB / 0.6216 GB, free: 9.883 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.715e-05/0.005467, allocations: 8 kB / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.005469, allocations: 0 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-06/0.005474, allocations: 0 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.41e-07/0.005475, allocations: 0 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005475, allocations: 0 / 0.6216 GB, free: 9.875 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001345/0.00561, allocations: 163.4 kB / 0.6217 GB, free: 9.699 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 7.324e-06/0.005617, allocations: 3.953 kB / 0.6217 GB, free: 9.695 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.478e-06/0.005627, allocations: 3.984 kB / 0.6217 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.294e-05/0.005659, allocations: 4.031 kB / 0.6217 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.063e-05/0.00569, allocations: 4 kB / 0.6217 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.005693, allocations: 4 kB / 0.6217 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.041e-05/0.005724, allocations: 91.2 kB / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of sort global known variables: time 4e-08/0.005724, allocations: 0 / 0.6218 GB, free: 9.59 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001424/0.005866, allocations: 4 kB / 0.6218 GB, free: 9.586 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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.000319/0.006185, allocations: 0.6812 MB / 0.6225 GB, free: 8.879 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0001208/0.006306, allocations: 43.92 kB / 0.6225 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.006308, allocations: 0 / 0.6225 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 3.622e-05/0.006344, allocations: 15.98 kB / 0.6226 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.0066, allocations: 8.094 kB / 0.6226 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008579/0.007458, allocations: 1.23 MB / 0.6238 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.329e-05/0.007501, allocations: 63.34 kB / 0.6238 GB, free: 7.422 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.839e-05/0.00753, allocations: 3.984 kB / 0.6238 GB, free: 7.418 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.007564, allocations: 12.5 kB / 0.6238 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of SimCode: time 6.21e-07/0.007564, allocations: 0 / 0.6238 GB, free: 7.406 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.02356, allocations: 1.954 MB / 0.6258 GB, free: 5.586 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/6.896, allocations: 13.36 kB / 0.6258 GB, free: 5.578 MB / 0.5886 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_RealScalarReplicator.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.RealScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.721981544047594] Failed to read output from testmodel.py, exit status != 0: 6.980527394451201 6.993107174 6.988101133 Calling exit ...