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: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") 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: 251.5 MB / 267.4 MB, free: 11.11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001129/0.001129, allocations: 179.9 kB / 326.5 MB, free: 2.715 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.905/1.905, allocations: 205 MB / 0.5766 GB, free: 21.02 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.0008662/0.0008662, allocations: 86.36 kB / 0.6803 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003388/0.0003388, allocations: 8.281 kB / 0.7938 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2243/0.2246, allocations: 105.4 MB / 0.8968 GB, free: 68.22 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.001489/0.2262, allocations: 1.073 MB / 0.8978 GB, free: 67.13 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003405/0.2265, allocations: 149.1 kB / 0.898 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.089e-05/0.2266, allocations: 0 / 0.898 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.2267, allocations: 7.938 kB / 0.898 GB, free: 66.98 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.689e-05/0.2267, allocations: 3.984 kB / 0.898 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001472/0.2269, allocations: 15.98 kB / 0.898 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.463e-05/0.227, allocations: 27.92 kB / 0.898 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.2271, allocations: 12 kB / 0.898 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.837e-05/0.2271, allocations: 11.92 kB / 0.898 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.2272, allocations: 23.91 kB / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.2272, allocations: 0 / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.008e-05/0.2273, allocations: 0 / 0.898 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.294e-05/0.2273, allocations: 4 kB / 0.8981 GB, free: 66.88 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.706e-05/0.2274, allocations: 19.86 kB / 0.8981 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.553e-05/0.2274, allocations: 24.23 kB / 0.8981 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.2274, allocations: 3.938 kB / 0.8981 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.326e-06/0.2274, allocations: 4 kB / 0.8981 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.17e-06/0.2275, allocations: 0 / 0.8981 GB, free: 66.83 MB / 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.0003829/0.2278, allocations: 351.4 kB / 0.8984 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2279, allocations: 12.03 kB / 0.8984 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.2279, allocations: 4.844 kB / 0.8985 GB, free: 66.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001083/0.228, allocations: 172.4 kB / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.033e-05/0.2281, allocations: 384 / 0.8986 GB, free: 66.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.2281, allocations: 8.375 kB / 0.8986 GB, free: 66.2 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.2283, allocations: 70.23 kB / 0.8987 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2283, allocations: 192 / 0.8987 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.054e-05/0.2283, allocations: 3.938 kB / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.2283, allocations: 0 / 0.8987 GB, free: 66.12 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001779/0.2285, allocations: 55.89 kB / 0.8988 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003121/0.2288, allocations: 284.7 kB / 0.899 GB, free: 65.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001273/0.229, allocations: 50.56 kB / 0.8991 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.779e-05/0.2291, allocations: 40.77 kB / 0.8991 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.2291, allocations: 0 / 0.8991 GB, free: 65.64 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.913e-05/0.2291, allocations: 30.56 kB / 0.8991 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 8.62e-07/0.2291, allocations: 4 kB / 0.8991 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.000338/0.2295, allocations: 101.6 kB / 0.8992 GB, free: 65.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.267e-05/0.2295, allocations: 51.41 kB / 0.8993 GB, free: 65.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.667e-05/0.2296, allocations: 106 kB / 0.8994 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.2296, allocations: 33.7 kB / 0.8994 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.2296, allocations: 91.97 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.2296, allocations: 3.906 kB / 0.8995 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.288e-05/0.2296, allocations: 17.72 kB / 0.8995 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.224e-05/0.2297, allocations: 314.8 kB / 0.8998 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.325e-05/0.2298, allocations: 27.92 kB / 0.8999 GB, free: 64.81 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.287e-05/0.2299, allocations: 27.97 kB / 0.8999 GB, free: 64.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001484/0.23, allocations: 52.81 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.23, allocations: 4.062 kB / 0.8999 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001867/0.2302, allocations: 77.66 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.2303, allocations: 4 kB / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.2303, allocations: 0 / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.2303, allocations: 0 / 0.9 GB, free: 64.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.2304, allocations: 16.02 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.2304, allocations: 4 kB / 0.9 GB, free: 64.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.141e-05/0.2305, allocations: 7.938 kB / 0.9 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.2305, allocations: 0 / 0.9 GB, free: 64.61 MB / 0.6042 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 9.695e-05/0.2306, allocations: 121.8 kB / 0.9002 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.2306, allocations: 0 / 0.9002 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.894e-05/0.2306, allocations: 11.12 kB / 0.9002 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2306, allocations: 0 / 0.9002 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2307, allocations: 256 / 0.9002 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.2307, allocations: 0 / 0.9002 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.2308, allocations: 173.6 kB / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.2308, allocations: 0 / 0.9003 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.701e-05/0.2309, allocations: 11.98 kB / 0.9003 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.2309, allocations: 0 / 0.9003 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.2309, allocations: 4 kB / 0.9003 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.2309, allocations: 0 / 0.9003 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2309, allocations: 4 kB / 0.9004 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.2311, allocations: 183.3 kB / 0.9005 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.743e-05/0.2311, allocations: 81.09 kB / 0.9006 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.335e-05/0.2312, allocations: 7.969 kB / 0.9006 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.694e-05/0.2312, allocations: 8 kB / 0.9006 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.163e-05/0.2313, allocations: 7.984 kB / 0.9006 GB, free: 63.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.4e-06/0.2313, allocations: 7.938 kB / 0.9006 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.2313, allocations: 83.22 kB / 0.9007 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2313, allocations: 0 / 0.9007 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001985/0.2315, allocations: 7.984 kB / 0.9007 GB, free: 63.82 MB / 0.6042 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 8.452e-05/0.2316, allocations: 103.2 kB / 0.9008 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002085/0.2318, allocations: 51.89 kB / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2319, allocations: 0 / 0.9009 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.975e-05/0.2319, allocations: 32.05 kB / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.2322, allocations: 1.875 kB / 0.9009 GB, free: 63.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002767/0.2325, allocations: 160.9 kB / 0.9011 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.2326, allocations: 0.6848 MB / 0.9017 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.2326, allocations: 11.5 kB / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of SimCode: time 4.91e-07/0.2326, allocations: 0 / 0.9017 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of Templates: time 0.001589/0.2342, allocations: 0.6661 MB / 0.9024 GB, free: 62.05 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.makefile (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 & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)