Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001008/0.001008, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001403/0.002411, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001081/0.001081, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001417/0.002498, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9968/0.9968, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09293/1.09, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.893/1.893, allocations: 390 MB / 0.6193 GB, free: 11.67 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5038/2.396, allocations: 127.1 MB / 0.7435 GB, free: 4.531 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.7448 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.483e-05/2.67e-05, allocations: 4.562 kB / 0.7448 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator): time 0.002172/0.002198, allocations: 0.7178 MB / 0.7455 GB, free: 2.535 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001026/0.003224, allocations: 0.8813 MB / 0.7464 GB, free: 1.645 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.666e-05/0.003271, allocations: 4 kB / 0.7464 GB, free: 1.641 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 6.519e-05/0.003336, allocations: 4.719 kB / 0.7464 GB, free: 1.637 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 2.703e-05/0.003363, allocations: 5.906 kB / 0.7464 GB, free: 1.633 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001125/0.003475, allocations: 22.67 kB / 0.7464 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 9.043e-05/0.003566, allocations: 33.02 kB / 0.7464 GB, free: 1.586 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 8.63e-05/0.003652, allocations: 11.98 kB / 0.7464 GB, free: 1.574 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 9.048e-05/0.003743, allocations: 22.27 kB / 0.7465 GB, free: 1.555 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 8.312e-05/0.003826, allocations: 16.86 kB / 0.7465 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.00385, allocations: 0 / 0.7465 GB, free: 1.539 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.42e-05/0.003865, allocations: 4.656 kB / 0.7465 GB, free: 1.535 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 6.309e-05/0.003928, allocations: 10.92 kB / 0.7465 GB, free: 1.527 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.003958, allocations: 5.75 kB / 0.7465 GB, free: 1.523 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001037/0.004061, allocations: 30.86 kB / 0.7465 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.52e-05/0.004076, allocations: 0 / 0.7465 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.333e-06/0.004078, allocations: 2.75 kB / 0.7465 GB, free: 1.496 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.559e-05/0.004093, allocations: 0 / 0.7465 GB, free: 1.496 MB / 0.7136 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.0004634/0.004557, allocations: 249.2 kB / 0.7468 GB, free: 1.227 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.004595, allocations: 8.031 kB / 0.7468 GB, free: 1.219 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.004638, allocations: 8.938 kB / 0.7468 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.004782, allocations: 114.8 kB / 0.7469 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.004804, allocations: 4.375 kB / 0.7469 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.004819, allocations: 5.344 kB / 0.7469 GB, free: 1.066 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.004978, allocations: 62.94 kB / 0.747 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.004987, allocations: 1.656 kB / 0.747 GB, free: 0.9961 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.166e-05/0.004999, allocations: 4.359 kB / 0.747 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.005006, allocations: 384 / 0.747 GB, free: 0.9922 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.58e-05/0.005042, allocations: 15.88 kB / 0.747 GB, free: 0.9766 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002952/0.005337, allocations: 171.5 kB / 0.7471 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.637e-05/0.005403, allocations: 24.17 kB / 0.7472 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.379e-05/0.005427, allocations: 14.12 kB / 0.7472 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.00544, allocations: 0 / 0.7472 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.005463, allocations: 34.56 kB / 0.7472 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.005464, allocations: 0.9375 kB / 0.7472 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001353/0.005599, allocations: 41.64 kB / 0.7473 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.963e-05/0.005629, allocations: 56.3 kB / 0.7473 GB, free: 0.5898 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.776e-05/0.005696, allocations: 106.8 kB / 0.7474 GB, free: 484 kB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.00571, allocations: 28.92 kB / 0.7474 GB, free: 452 kB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.005751, allocations: 88.95 kB / 0.7475 GB, free: 360 kB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.779e-05/0.005768, allocations: 11.89 kB / 0.7475 GB, free: 348 kB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.911e-05/0.005808, allocations: 21.7 kB / 0.7476 GB, free: 320 kB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.088e-05/0.005898, allocations: 310.8 kB / 0.7479 GB, free: 0 / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.505e-05/0.005913, allocations: 0 / 0.7479 GB, free: 0 / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.197e-05/0.005925, allocations: 8.75 kB / 0.7479 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.11e-05/0.005967, allocations: 19.56 kB / 0.7479 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005969, allocations: 0 / 0.7479 GB, free: 15.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.644e-05/0.006035, allocations: 37.69 kB / 0.7479 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.006052, allocations: 7.938 kB / 0.7479 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.006057, allocations: 0 / 0.7479 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.006074, allocations: 0 / 0.7479 GB, free: 15.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.461e-05/0.006169, allocations: 16.47 kB / 0.7479 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.595e-06/0.006172, allocations: 0 / 0.7479 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.006195, allocations: 3.156 kB / 0.7479 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.95e-06/0.0062, allocations: 0 / 0.7479 GB, free: 15.91 MB / 0.7292 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 8.836e-05/0.006289, allocations: 112.7 kB / 0.748 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.259e-05/0.006311, allocations: 0.875 kB / 0.7481 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.348e-05/0.006335, allocations: 19.23 kB / 0.7481 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.006337, allocations: 0 / 0.7481 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.006338, allocations: 0 / 0.7481 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.006341, allocations: 0 / 0.7481 GB, free: 15.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.00646, allocations: 69.42 kB / 0.7481 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.006462, allocations: 4.25 kB / 0.7481 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.922e-05/0.006511, allocations: 11.98 kB / 0.7482 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-06/0.006518, allocations: 0.6562 kB / 0.7482 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.00652, allocations: 0 / 0.7482 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.006526, allocations: 7.938 kB / 0.7482 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.006527, allocations: 0 / 0.7482 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.006528, allocations: 0 / 0.7482 GB, free: 15.66 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.00663, allocations: 134.7 kB / 0.7483 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.006642, allocations: 4.766 kB / 0.7483 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.813e-05/0.0067, allocations: 3.984 kB / 0.7483 GB, free: 15.51 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.228e-05/0.006742, allocations: 11.94 kB / 0.7483 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.006747, allocations: 3.984 kB / 0.7483 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.715e-05/0.006764, allocations: 8.859 kB / 0.7483 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.006764, allocations: 0 / 0.7483 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001896/0.006954, allocations: 4 kB / 0.7483 GB, free: 15.48 MB / 0.7292 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.0001144/0.007068, allocations: 81.78 kB / 0.7484 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.308e-05/0.007141, allocations: 18 kB / 0.7484 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/0.007146, allocations: 0.9844 kB / 0.7484 GB, free: 15.38 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.047e-05/0.007177, allocations: 13.8 kB / 0.7484 GB, free: 15.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.007371, allocations: 38.86 kB / 0.7485 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.007828, allocations: 145.2 kB / 0.7486 GB, free: 15.15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.319e-05/0.007871, allocations: 59.34 kB / 0.7487 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.007901, allocations: 2.625 kB / 0.7487 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.31e-05/0.007965, allocations: 51.38 kB / 0.7487 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of SimCode: time 7.52e-07/0.007965, allocations: 1.094 kB / 0.7487 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of Templates: time 0.002642/0.01061, allocations: 0.6731 MB / 0.7494 GB, free: 14.38 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerScalarReplicator.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.851722654886544]