Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 111.3 kB / 17.6 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 190.8 kB / 20.78 MB, free: 1.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 225.6 MB / 249.4 MB, free: 3.32 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.863/2.863, allocations: 476.7 MB / 0.7629 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001978/0.001978, allocations: 67.88 kB / 1.107 GB, free: 5.066 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.067/1.069, allocations: 168.7 MB / 1.272 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002211/1.071, allocations: 0.6924 MB / 1.272 GB, free: 7.262 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001021/1.072, allocations: 0.8344 MB / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.873e-05/1.072, allocations: 0 / 1.273 GB, free: 6.633 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001035/1.072, allocations: 5.641 kB / 1.273 GB, free: 6.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.831e-05/1.072, allocations: 5.844 kB / 1.273 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001745/1.073, allocations: 24.52 kB / 1.273 GB, free: 6.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.874e-05/1.073, allocations: 32.52 kB / 1.273 GB, free: 6.594 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001144/1.073, allocations: 9.297 kB / 1.273 GB, free: 6.59 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.763e-05/1.073, allocations: 16.83 kB / 1.273 GB, free: 6.582 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.007e-05/1.073, allocations: 16.39 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/1.073, allocations: 2.875 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.206e-05/1.073, allocations: 2.969 kB / 1.273 GB, free: 6.574 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/1.073, allocations: 13.59 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.931e-05/1.073, allocations: 13.73 kB / 1.273 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/1.073, allocations: 42.19 kB / 1.273 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/1.073, allocations: 4 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.124e-06/1.073, allocations: 0.75 kB / 1.273 GB, free: 6.535 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.434e-06/1.073, allocations: 0 / 1.273 GB, free: 6.535 MB / 0.9981 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.000429/1.074, allocations: 352.1 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/1.074, allocations: 10.14 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.582e-05/1.074, allocations: 33.03 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.477e-05/1.074, allocations: 3.062 kB / 1.274 GB, free: 6.129 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/1.074, allocations: 175.6 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.957e-05/1.074, allocations: 1.906 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/1.074, allocations: 7.266 kB / 1.274 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001923/1.074, allocations: 66.38 kB / 1.274 GB, free: 5.879 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/1.074, allocations: 8.531 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/1.074, allocations: 0.5938 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/1.074, allocations: 0.7812 kB / 1.274 GB, free: 5.871 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001939/1.074, allocations: 48.08 kB / 1.274 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003076/1.075, allocations: 277.3 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001385/1.075, allocations: 43.66 kB / 1.274 GB, free: 5.543 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.338e-05/1.075, allocations: 20.62 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/1.075, allocations: 4.906 kB / 1.274 GB, free: 5.531 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.273e-05/1.075, allocations: 36.2 kB / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/1.075, allocations: 0 / 1.274 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.000383/1.075, allocations: 88.31 kB / 1.274 GB, free: 5.445 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.097e-05/1.075, allocations: 52.22 kB / 1.274 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.366e-05/1.075, allocations: 112.6 kB / 1.274 GB, free: 5.273 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/1.075, allocations: 26.55 kB / 1.274 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.634e-05/1.075, allocations: 90.44 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.394e-05/1.075, allocations: 4.906 kB / 1.275 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/1.076, allocations: 16.27 kB / 1.275 GB, free: 5.133 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.99e-05/1.076, allocations: 319.6 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-05/1.076, allocations: 16.52 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.977e-05/1.076, allocations: 19.64 kB / 1.275 GB, free: 4.809 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001655/1.076, allocations: 44.64 kB / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/1.076, allocations: 0 / 1.275 GB, free: 4.793 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002044/1.076, allocations: 74.38 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.076, allocations: 7.594 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/1.076, allocations: 0 / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/1.076, allocations: 4.781 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001066/1.076, allocations: 10.23 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/1.076, allocations: 5.062 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.401e-05/1.076, allocations: 4.594 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/1.076, allocations: 6.141 kB / 1.275 GB, free: 4.738 MB / 0.9981 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.0001617/1.076, allocations: 122.2 kB / 1.275 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/1.077, allocations: 0.6875 kB / 1.275 GB, free: 4.613 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.505e-05/1.077, allocations: 5.281 kB / 1.275 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/1.077, allocations: 0.875 kB / 1.275 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.077, allocations: 256 / 1.275 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/1.077, allocations: 4.938 kB / 1.275 GB, free: 4.605 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/1.077, allocations: 173.8 kB / 1.275 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.077, allocations: 0.8125 kB / 1.275 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.929e-05/1.077, allocations: 8.797 kB / 1.275 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/1.077, allocations: 1.062 kB / 1.275 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/1.077, allocations: 5.438 kB / 1.275 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/1.077, allocations: 1.031 kB / 1.275 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.077, allocations: 0 / 1.275 GB, free: 4.398 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002246/1.077, allocations: 174.8 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.149e-05/1.077, allocations: 82.12 kB / 1.276 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.408e-05/1.077, allocations: 3.938 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.999e-05/1.077, allocations: 8.203 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.176e-05/1.077, allocations: 3.812 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/1.077, allocations: 2.172 kB / 1.276 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 2.69e-05/1.077, allocations: 83.31 kB / 1.276 GB, free: 4.07 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/1.077, allocations: 4.812 kB / 1.276 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002165/1.077, allocations: 4.406 kB / 1.276 GB, free: 4.066 MB / 0.9981 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.0004296/1.078, allocations: 0.6984 MB / 1.276 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002345/1.078, allocations: 50.55 kB / 1.276 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/1.078, allocations: 0 / 1.276 GB, free: 3.383 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.477e-05/1.078, allocations: 22.97 kB / 1.276 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/1.078, allocations: 4.984 kB / 1.276 GB, free: 3.379 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001292/1.08, allocations: 1.272 MB / 1.278 GB, free: 18.18 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/1.08, allocations: 0.6815 MB / 1.278 GB, free: 17.49 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.806e-05/1.08, allocations: 3.406 kB / 1.278 GB, free: 17.49 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/1.08, allocations: 14.27 kB / 1.278 GB, free: 17.48 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/1.08, allocations: 0 / 1.278 GB, free: 17.48 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/1.104, allocations: 1.516 MB / 1.28 GB, free: 17.09 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/9.037, allocations: 11.31 kB / 1.28 GB, free: 17.08 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.309052303986391] Failed to read output from testmodel.py, exit status != 0: 9.105221162986709 9.119800967 8.043540708 Calling exit ...