Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.147/5.147, allocations: 0.5623 GB / 0.5775 GB, free: 3.328 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003703/0.003703, allocations: 359.9 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.685/4.685, allocations: 410.7 MB / 1.113 GB, free: 5.887 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.002599/0.002599, allocations: 183.3 kB / 1.226 GB, free: 6.066 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004887/0.0004888, allocations: 12 kB / 1.349 GB, free: 8.188 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7436/0.7442, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.0008878/0.7451, allocations: 378.8 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009994/0.7461, allocations: 0.8143 MB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.7462, allocations: 0 / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 7.942e-05/0.7463, allocations: 3.938 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 2.819e-05/0.7463, allocations: 7.938 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001512/0.7465, allocations: 18.92 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.635e-05/0.7466, allocations: 27.92 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 9.005e-05/0.7467, allocations: 4 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.741e-05/0.7467, allocations: 15.98 kB / 1.463 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.27e-05/0.7468, allocations: 15.91 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.7468, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 1.316e-05/0.7468, allocations: 4 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.194e-05/0.7469, allocations: 4.75 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.851e-05/0.7469, allocations: 33.64 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 6.33e-05/0.747, allocations: 24.53 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.747, allocations: 1.625 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.884e-06/0.747, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.747, allocations: 4 kB / 1.463 GB, free: 283 MB / 0.8542 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.0004643/0.7475, allocations: 342.5 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.7476, allocations: 12.34 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.7476, allocations: 11.92 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.7477, allocations: 171.9 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.7478, allocations: 4 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.7478, allocations: 4.969 kB / 1.463 GB, free: 282.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002665/0.7481, allocations: 67.88 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.7481, allocations: 4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.322e-05/0.7481, allocations: 1.125 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.7481, allocations: 3.938 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003164/0.7485, allocations: 62.03 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003783/0.7489, allocations: 278.6 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002322/0.7491, allocations: 49.03 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001591/0.7493, allocations: 35.88 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.871e-05/0.7493, allocations: 0 / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.84e-05/0.7493, allocations: 32.03 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.493e-06/0.7494, allocations: 0 / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.000562/0.7499, allocations: 106.1 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.236e-05/0.75, allocations: 55.36 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.692e-05/0.75, allocations: 113.8 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.7501, allocations: 26.7 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.657e-05/0.7501, allocations: 84.14 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.7501, allocations: 12.97 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.11e-06/0.7502, allocations: 0 / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.848e-05/0.7502, allocations: 314.8 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.7504, allocations: 26.33 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001479/0.7505, allocations: 24.47 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.7507, allocations: 26.55 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.7507, allocations: 3.938 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003424/0.7511, allocations: 75.66 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.7511, allocations: 12.62 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.7511, allocations: 0 / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.7511, allocations: 0.5625 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/0.7513, allocations: 14.58 kB / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.7513, allocations: 0 / 1.465 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.784e-05/0.7514, allocations: 19.94 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/0.7515, allocations: 0 / 1.465 GB, free: 280.8 MB / 0.8542 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001145/0.7516, allocations: 116 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.7516, allocations: 0 / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.395e-05/0.7517, allocations: 7.125 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.7517, allocations: 0.7969 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.7517, allocations: 1.75 kB / 1.465 GB, free: 280.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.778e-05/0.7517, allocations: 89 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.7517, allocations: 3.953 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.7519, allocations: 5 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.728e-05/0.7519, allocations: 7.984 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004451/0.7524, allocations: 168 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003853/0.7528, allocations: 255.2 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001679/0.753, allocations: 30.77 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.796e-05/0.7531, allocations: 83.23 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of Backend: time 1.062e-06/0.7531, allocations: 0 / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005087/0.7536, allocations: 107.9 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003927/0.754, allocations: 0.5736 MB / 1.466 GB, free: 279.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.003106/0.7571, allocations: 0.5736 MB / 1.467 GB, free: 278.8 MB / 0.8542 GB