Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.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.0008289/0.0008289, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001001/0.001001, allocations: 209.2 kB / 22.24 MB, free: 3.59 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 0.9873/0.9873, allocations: 230.6 MB / 256 MB, free: 9.594 MB / 202.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.8025/0.8025, allocations: 203.5 MB / 0.5039 GB, free: 10.75 MB / 410.7 MB " [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.IntegerScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="IDEAS_IDEAS_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",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.0009167/0.0009167, allocations: 67.14 kB / 0.7178 GB, free: 4.414 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.491/0.4919, allocations: 102 MB / 0.8174 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.001381/0.4933, allocations: 0.6631 MB / 0.818 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007491/0.494, allocations: 0.8585 MB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.33e-05/0.4941, allocations: 0 / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.385e-05/0.4942, allocations: 0.7031 kB / 0.8189 GB, free: 192 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.024e-05/0.4942, allocations: 4.688 kB / 0.8189 GB, free: 188 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001607/0.4943, allocations: 16.27 kB / 0.8189 GB, free: 180 kB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.534e-05/0.4944, allocations: 30.97 kB / 0.8189 GB, free: 168 kB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.4945, allocations: 7.344 kB / 0.8189 GB, free: 164 kB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.847e-05/0.4946, allocations: 20.28 kB / 0.8189 GB, free: 152 kB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.305e-05/0.4946, allocations: 21.91 kB / 0.819 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.575e-05/0.4947, allocations: 4.094 kB / 0.819 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-06/0.4947, allocations: 0.9688 kB / 0.819 GB, free: 140 kB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.4947, allocations: 10.39 kB / 0.819 GB, free: 136 kB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.174e-05/0.4948, allocations: 13.98 kB / 0.819 GB, free: 128 kB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001131/0.4949, allocations: 42.12 kB / 0.819 GB, free: 108 kB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4949, allocations: 0 / 0.819 GB, free: 108 kB / 0.6042 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4949, allocations: 0 / 0.819 GB, free: 108 kB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.4949, allocations: 0.75 kB / 0.819 GB, free: 108 kB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003705/0.4953, allocations: 280 kB / 0.8193 GB, free: 15.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.4953, allocations: 14 kB / 0.8193 GB, free: 15.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.4953, allocations: 32.83 kB / 0.8193 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.504e-05/0.4954, allocations: 2.031 kB / 0.8193 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001309/0.4955, allocations: 115 kB / 0.8194 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.4955, allocations: 2.188 kB / 0.8195 GB, free: 15.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.058e-05/0.4955, allocations: 5.781 kB / 0.8195 GB, free: 15.65 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.4957, allocations: 67.38 kB / 0.8195 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.4957, allocations: 3.938 kB / 0.8195 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.538e-06/0.4957, allocations: 0.5312 kB / 0.8195 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.4957, allocations: 1.156 kB / 0.8195 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001187/0.4958, allocations: 48.42 kB / 0.8196 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003402/0.4962, allocations: 247.4 kB / 0.8198 GB, free: 15.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001128/0.4963, allocations: 42.81 kB / 0.8198 GB, free: 15.31 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.119e-05/0.4963, allocations: 20.5 kB / 0.8199 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.526e-05/0.4964, allocations: 1.938 kB / 0.8199 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.4964, allocations: 35.78 kB / 0.8199 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.473e-06/0.4964, allocations: 4 kB / 0.8199 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002417/0.4966, allocations: 93.95 kB / 0.82 GB, free: 15.21 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.626e-05/0.4966, allocations: 51.41 kB / 0.82 GB, free: 15.14 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.173e-05/0.4967, allocations: 108.1 kB / 0.8201 GB, free: 15.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.4967, allocations: 25.7 kB / 0.8202 GB, free: 15.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.198e-05/0.4968, allocations: 88.89 kB / 0.8203 GB, free: 14.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.321e-05/0.4968, allocations: 7.953 kB / 0.8203 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.4968, allocations: 16.56 kB / 0.8203 GB, free: 14.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.852e-05/0.4969, allocations: 324.5 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.952e-05/0.4969, allocations: 14.56 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.036e-05/0.497, allocations: 20.92 kB / 0.8206 GB, free: 14.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.958e-05/0.4971, allocations: 39.67 kB / 0.8207 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4971, allocations: 0 / 0.8207 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001202/0.4972, allocations: 80.56 kB / 0.8207 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.4972, allocations: 4.375 kB / 0.8207 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.4972, allocations: 0 / 0.8207 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.4972, allocations: 0 / 0.8207 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.82e-05/0.4973, allocations: 13.08 kB / 0.8208 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.4973, allocations: 0.6094 kB / 0.8208 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.7e-05/0.4973, allocations: 12.77 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.099e-06/0.4973, allocations: 0.7969 kB / 0.8208 GB, free: 14.5 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * 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.0001187/0.4974, allocations: 118.9 kB / 0.8209 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.422e-05/0.4975, allocations: 5.734 kB / 0.8209 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.925e-05/0.4975, allocations: 12.98 kB / 0.8209 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.4975, allocations: 256 / 0.8209 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.4975, allocations: 2.109 kB / 0.8209 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.676e-06/0.4975, allocations: 4 kB / 0.8209 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001073/0.4976, allocations: 136.1 kB / 0.821 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.4976, allocations: 0 / 0.821 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.014e-05/0.4976, allocations: 9.25 kB / 0.821 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.4976, allocations: 0 / 0.821 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.4976, allocations: 4.656 kB / 0.8211 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.4976, allocations: 0 / 0.8211 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4976, allocations: 2.031 kB / 0.8211 GB, free: 14.2 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001623/0.4978, allocations: 171.1 kB / 0.8212 GB, free: 14.06 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.606e-06/0.4978, allocations: 12.59 kB / 0.8212 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-06/0.4978, allocations: 4.219 kB / 0.8212 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.23e-05/0.4979, allocations: 6.562 kB / 0.8212 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.375e-05/0.4979, allocations: 2.344 kB / 0.8212 GB, free: 14.05 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.4979, allocations: 4.734 kB / 0.8212 GB, free: 14.04 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.963e-05/0.4979, allocations: 87.08 kB / 0.8213 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.4979, allocations: 0 / 0.8213 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001396/0.4981, allocations: 3.969 kB / 0.8213 GB, free: 13.96 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (intRep.y[3]) * 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.0003455/0.4984, allocations: 0.7027 MB / 0.822 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001476/0.4986, allocations: 47.11 kB / 0.8221 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.4986, allocations: 0 / 0.8221 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.967e-05/0.4986, allocations: 19.8 kB / 0.8221 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001873/0.4988, allocations: 6.969 kB / 0.8221 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009871/0.4998, allocations: 1.257 MB / 0.8233 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.404e-05/0.4999, allocations: 67.77 kB / 0.8234 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.323e-05/0.4999, allocations: 3.906 kB / 0.8234 GB, free: 12.01 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.276e-05/0.4999, allocations: 15.19 kB / 0.8234 GB, free: 12 MB / 0.6198 GB Notification: Performance of SimCode: time 8.52e-07/0.4999, allocations: 0 / 0.8234 GB, free: 12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.5171, allocations: 2.058 MB / 0.8254 GB, free: 11.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.544/7.061, allocations: 14.62 kB / 0.8254 GB, free: 11.13 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_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_IntegerScalarReplicator.fmu > IDEAS_IDEAS.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.151679016649723] Failed to read output from testmodel.py, exit status != 0: 7.1400429350323975 7.156290995 6.658615489 Calling exit ...