Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.382/1.382, allocations: 249.5 MB / 257 MB, free: 6.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009843/0.0009845, allocations: 180.9 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.3 MB / 0.5671 GB, free: 15.88 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008285/0.0008286, allocations: 86.42 kB / 0.6714 GB, free: 5 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.812e-05/1.815e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2422, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8492/1.091, allocations: 131.8 MB / 1.014 GB, free: 5.582 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003093/1.092, allocations: 74.88 kB / 1.014 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002472/1.094, allocations: 0.8288 MB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.443e-06/1.094, allocations: 0 / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.448e-06/1.094, allocations: 0 / 1.015 GB, free: 4.801 MB / 0.6355 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.0004159/1.095, allocations: 350.5 kB / 1.015 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/1.095, allocations: 12.03 kB / 1.015 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.404e-05/1.095, allocations: 7.469 kB / 1.015 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/1.095, allocations: 179.7 kB / 1.015 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.664e-05/1.095, allocations: 4 kB / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.455e-05/1.095, allocations: 0 / 1.015 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.291e-05/1.095, allocations: 19.75 kB / 1.015 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.541e-05/1.095, allocations: 41.56 kB / 1.015 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/1.095, allocations: 0 / 1.015 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/1.095, allocations: 4 kB / 1.016 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/1.095, allocations: 7.984 kB / 1.016 GB, free: 4.113 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/1.096, allocations: 248.8 kB / 1.016 GB, free: 3.844 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.565e-05/1.096, allocations: 34.44 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.923e-05/1.096, allocations: 12.8 kB / 1.016 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/1.096, allocations: 4 kB / 1.016 GB, free: 3.789 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.456e-05/1.096, allocations: 34.56 kB / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/1.096, allocations: 0 / 1.016 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001849/1.096, allocations: 45.34 kB / 1.016 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.715e-05/1.096, allocations: 55.22 kB / 1.016 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.357e-05/1.096, allocations: 96.94 kB / 1.016 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.608e-05/1.096, allocations: 29.52 kB / 1.016 GB, free: 3.504 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.672e-05/1.096, allocations: 87.98 kB / 1.016 GB, free: 3.414 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.319e-05/1.096, allocations: 8.031 kB / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-06/1.096, allocations: 0 / 1.016 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001319/1.097, allocations: 322.7 kB / 1.016 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.803e-05/1.097, allocations: 4 kB / 1.016 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.511e-05/1.097, allocations: 7.812 kB / 1.016 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.168e-05/1.097, allocations: 4 kB / 1.016 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.097, allocations: 0 / 1.016 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.788e-05/1.097, allocations: 49.47 kB / 1.017 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.097, allocations: 9.812 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/1.097, allocations: 0 / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/1.097, allocations: 0 / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001123/1.097, allocations: 11.98 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/1.097, allocations: 0 / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/1.097, allocations: 15.92 kB / 1.017 GB, free: 2.992 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-06/1.097, allocations: 0 / 1.017 GB, free: 2.992 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.856e-05/1.097, allocations: 112.9 kB / 1.017 GB, free: 2.875 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.274e-05/1.097, allocations: 45.38 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.06e-05/1.097, allocations: 4 kB / 1.017 GB, free: 2.824 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/1.097, allocations: 7.703 kB / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.097, allocations: 0 / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/1.097, allocations: 0 / 1.017 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/1.097, allocations: 3.953 kB / 1.017 GB, free: 2.809 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001525/1.097, allocations: 149 kB / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/1.097, allocations: 0 / 1.017 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.417e-05/1.098, allocations: 16.02 kB / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/1.098, allocations: 0 / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.847e-06/1.098, allocations: 0 / 1.017 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/1.098, allocations: 4 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/1.098, allocations: 3.938 kB / 1.017 GB, free: 2.613 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000132/1.098, allocations: 147.2 kB / 1.017 GB, free: 2.457 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/1.098, allocations: 77.11 kB / 1.017 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.48e-05/1.098, allocations: 4.031 kB / 1.017 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.702e-05/1.098, allocations: 15.92 kB / 1.017 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/1.098, allocations: 3.875 kB / 1.017 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.27e-06/1.098, allocations: 4 kB / 1.017 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.008e-05/1.098, allocations: 83.27 kB / 1.017 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.31e-07/1.098, allocations: 0 / 1.017 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002097/1.098, allocations: 11.94 kB / 1.017 GB, free: 2.246 MB / 0.6355 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003602/1.099, allocations: 0.6796 MB / 1.018 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.178e-05/1.099, allocations: 22.31 kB / 1.018 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.099, allocations: 0 / 1.018 GB, free: 1.535 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.728e-05/1.099, allocations: 15.17 kB / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001667/1.099, allocations: 0 / 1.018 GB, free: 1.523 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/1.099, allocations: 105.1 kB / 1.018 GB, free: 1.387 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/1.1, allocations: 0.6807 MB / 1.019 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.846e-05/1.1, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/1.1, allocations: 22.3 kB / 1.019 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of SimCode: time 2.81e-07/1.1, allocations: 0 / 1.019 GB, free: 0.6641 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01948/1.119, allocations: 0.9097 MB / 1.02 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/1.119, allocations: 164.6 kB / 1.02 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.417/2.536, allocations: 0 / 1.02 GB, free: 15.57 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)