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.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.001413/0.001413, allocations: 116.1 kB / 17.17 MB, free: 6 MB / 14.72 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.001548/0.001548, allocations: 209.5 kB / 20.13 MB, free: 3.055 MB / 14.72 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.628/1.628, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.861/2.861, allocations: 476.7 MB / 0.7678 GB, free: 9.316 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/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(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings 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.002827/0.002827, allocations: 72.12 kB / 1.113 GB, free: 15.84 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9728/0.9756, allocations: 169.9 MB / 1.279 GB, free: 11.73 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002653/0.9783, allocations: 0.6788 MB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001672/0.9799, allocations: 0.8593 MB / 1.28 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.497e-05/0.98, allocations: 1.094 kB / 1.28 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001172/0.9801, allocations: 4.734 kB / 1.28 GB, free: 10.65 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.048e-05/0.9801, allocations: 9.859 kB / 1.28 GB, free: 10.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.9803, allocations: 20.14 kB / 1.28 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.9805, allocations: 41.39 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001176/0.9806, allocations: 5.344 kB / 1.281 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.264e-05/0.9806, allocations: 12.28 kB / 1.281 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.445e-05/0.9807, allocations: 17.02 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.327e-05/0.9807, allocations: 3.562 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.21e-05/0.9807, allocations: 2.625 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.762e-05/0.9808, allocations: 13.58 kB / 1.281 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.9809, allocations: 21.31 kB / 1.281 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.981, allocations: 30.12 kB / 1.281 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 8.956e-06/0.981, allocations: 13.09 kB / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.295e-06/0.981, allocations: 0 / 1.281 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.981, allocations: 0 / 1.281 GB, free: 10.55 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.0006042/0.9816, allocations: 347.8 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.73e-05/0.9817, allocations: 10.7 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.568e-05/0.9817, allocations: 1.375 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.008e-05/0.9817, allocations: 37.14 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.888e-05/0.9817, allocations: 7.172 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001851/0.9819, allocations: 175.3 kB / 1.281 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.216e-05/0.9819, allocations: 1.312 kB / 1.281 GB, free: 9.938 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.982, allocations: 6.531 kB / 1.281 GB, free: 9.934 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002613/0.9822, allocations: 71.97 kB / 1.281 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.9822, allocations: 0 / 1.281 GB, free: 9.887 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.9823, allocations: 7.984 kB / 1.281 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.9823, allocations: 1.344 kB / 1.281 GB, free: 9.879 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.9825, allocations: 44.42 kB / 1.281 GB, free: 9.871 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.9829, allocations: 280.7 kB / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.983, allocations: 38.89 kB / 1.282 GB, free: 9.555 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.9831, allocations: 25 kB / 1.282 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.9832, allocations: 1.844 kB / 1.282 GB, free: 9.543 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.971e-05/0.9832, allocations: 34.56 kB / 1.282 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.9832, allocations: 1.125 kB / 1.282 GB, free: 9.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0003981/0.9836, allocations: 88.62 kB / 1.282 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.9836, allocations: 52.2 kB / 1.282 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.351e-05/0.9837, allocations: 103.1 kB / 1.282 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.9838, allocations: 34.8 kB / 1.282 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 5.596e-05/0.9838, allocations: 87.06 kB / 1.282 GB, free: 9.168 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.9838, allocations: 5.469 kB / 1.282 GB, free: 9.164 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.863e-05/0.9839, allocations: 18.36 kB / 1.282 GB, free: 9.145 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001375/0.984, allocations: 317.3 kB / 1.282 GB, free: 8.828 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.823e-05/0.9841, allocations: 19.83 kB / 1.282 GB, free: 8.824 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.539e-05/0.9842, allocations: 19.75 kB / 1.282 GB, free: 8.82 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001764/0.9844, allocations: 47.59 kB / 1.282 GB, free: 8.801 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.9844, allocations: 5.641 kB / 1.282 GB, free: 8.797 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002201/0.9846, allocations: 65.75 kB / 1.282 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.9846, allocations: 8.188 kB / 1.283 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.9846, allocations: 0 / 1.283 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.9846, allocations: 5.219 kB / 1.283 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001026/0.9847, allocations: 13.06 kB / 1.283 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.9847, allocations: 1.906 kB / 1.283 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.332e-05/0.9848, allocations: 5.172 kB / 1.283 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.9848, allocations: 1.875 kB / 1.283 GB, free: 8.754 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.000179/0.985, allocations: 129.9 kB / 1.283 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.454e-05/0.985, allocations: 1.391 kB / 1.283 GB, free: 8.621 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.985, allocations: 4.406 kB / 1.283 GB, free: 8.613 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.985, allocations: 4.594 kB / 1.283 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.985, allocations: 1.25 kB / 1.283 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.985, allocations: 0.5 kB / 1.283 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002027/0.9852, allocations: 169.5 kB / 1.283 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.9852, allocations: 0.5 kB / 1.283 GB, free: 8.41 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.21e-05/0.9853, allocations: 13.2 kB / 1.283 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.9853, allocations: 1.234 kB / 1.283 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.9853, allocations: 0.5 kB / 1.283 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.9853, allocations: 1.203 kB / 1.283 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.9853, allocations: 0.5 kB / 1.283 GB, free: 8.406 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003106/0.9856, allocations: 174 kB / 1.283 GB, free: 8.258 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.199e-05/0.9857, allocations: 78.52 kB / 1.283 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.611e-05/0.9857, allocations: 1.312 kB / 1.283 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.431e-05/0.9858, allocations: 5.672 kB / 1.283 GB, free: 8.164 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.9859, allocations: 9.531 kB / 1.283 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.9859, allocations: 5.188 kB / 1.283 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.158e-05/0.9859, allocations: 84.8 kB / 1.283 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.9859, allocations: 0.6562 kB / 1.283 GB, free: 8.078 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002212/0.9861, allocations: 8.406 kB / 1.283 GB, free: 8.074 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.0006848/0.9868, allocations: 0.7047 MB / 1.284 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002677/0.9871, allocations: 39.05 kB / 1.284 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.9871, allocations: 0 / 1.284 GB, free: 7.395 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.9872, allocations: 27.17 kB / 1.284 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002463/0.9875, allocations: 3.641 kB / 1.284 GB, free: 7.387 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/0.9891, allocations: 1.258 MB / 1.285 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.9894, allocations: 0.6835 MB / 1.286 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.683e-05/0.9894, allocations: 3.328 kB / 1.286 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.769e-05/0.9895, allocations: 20.52 kB / 1.286 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of SimCode: time 3.21e-07/0.9895, allocations: 0 / 1.286 GB, free: 5.488 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01826/1.008, allocations: 1.582 MB / 1.287 GB, free: 5.113 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.67/9.677, allocations: 9.531 kB / 1.287 GB, free: 5.109 MB / 0.9981 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerScalarReplicator_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 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: 16.128877823997755] Failed to read output from testmodel.py, exit status != 0: 9.80990643799305 9.835751941 8.849661455 Calling exit ...