Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.099/4.099, allocations: 433.2 MB / 440.7 MB, free: 4.609 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.676e-05/3.735e-05, allocations: 4.188 kB / 0.5325 GB, free: 12.71 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2438, allocations: 98.73 MB / 0.6289 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2749/0.5187, allocations: 123.7 MB / 0.7497 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.5191, allocations: 71.95 kB / 0.7498 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003336/0.5224, allocations: 0.8172 MB / 0.7506 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.744e-06/0.5225, allocations: 3.938 kB / 0.7506 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.447e-06/0.5225, allocations: 0 / 0.7506 GB, free: 12.42 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.0005113/0.523, allocations: 346.5 kB / 0.7509 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.275e-05/0.5231, allocations: 16.03 kB / 0.7509 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.5231, allocations: 7.859 kB / 0.7509 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.5234, allocations: 175 kB / 0.7511 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.5234, allocations: 8 kB / 0.7511 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.348e-05/0.5234, allocations: 0 / 0.7511 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001068/0.5235, allocations: 16 kB / 0.7511 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001386/0.5237, allocations: 57.64 kB / 0.7512 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.5237, allocations: 0 / 0.7512 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.5237, allocations: 4 kB / 0.7512 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5238, allocations: 0 / 0.7512 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.5242, allocations: 257.3 kB / 0.7514 GB, free: 11.42 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.012e-05/0.5243, allocations: 30.56 kB / 0.7515 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.882e-05/0.5244, allocations: 8.922 kB / 0.7515 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.5244, allocations: 7.938 kB / 0.7515 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.5245, allocations: 38.56 kB / 0.7515 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.773e-06/0.5245, allocations: 0 / 0.7515 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002113/0.5247, allocations: 53.48 kB / 0.7516 GB, free: 11.26 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.724e-05/0.5247, allocations: 51.41 kB / 0.7516 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.5249, allocations: 97 kB / 0.7517 GB, free: 11.09 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.5249, allocations: 25.7 kB / 0.7517 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.298e-05/0.525, allocations: 84.05 kB / 0.7518 GB, free: 10.98 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.735e-05/0.525, allocations: 4 kB / 0.7518 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.001e-06/0.525, allocations: 4.031 kB / 0.7518 GB, free: 10.97 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.5252, allocations: 318.8 kB / 0.7521 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.789e-05/0.5252, allocations: 4 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.728e-05/0.5252, allocations: 8 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.356e-05/0.5253, allocations: 4 kB / 0.7521 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5253, allocations: 0 / 0.7521 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001185/0.5254, allocations: 49.69 kB / 0.7522 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.5254, allocations: 4 kB / 0.7522 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.5255, allocations: 4.094 kB / 0.7522 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.5255, allocations: 0 / 0.7522 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001748/0.5257, allocations: 19.86 kB / 0.7522 GB, free: 10.55 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.234e-06/0.5257, allocations: 3.953 kB / 0.7522 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001024/0.5258, allocations: 15.89 kB / 0.7522 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.5258, allocations: 0 / 0.7522 GB, free: 10.53 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.46e-05/0.5259, allocations: 101 kB / 0.7523 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001155/0.5261, allocations: 49.69 kB / 0.7524 GB, free: 10.37 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.54e-05/0.5261, allocations: 4 kB / 0.7524 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.304e-05/0.5261, allocations: 3.75 kB / 0.7524 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.5262, allocations: 3.953 kB / 0.7524 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.5262, allocations: 0 / 0.7524 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.5262, allocations: 0 / 0.7524 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.5264, allocations: 146.2 kB / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.5264, allocations: 0 / 0.7525 GB, free: 10.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.5265, allocations: 11.98 kB / 0.7525 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.5265, allocations: 4.031 kB / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/0.5266, allocations: 0 / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.5266, allocations: 4.25 kB / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.5266, allocations: 0 / 0.7525 GB, free: 10.16 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001596/0.5268, allocations: 143.4 kB / 0.7527 GB, free: 10 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.545e-05/0.5268, allocations: 85.02 kB / 0.7528 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.5268, allocations: 0 / 0.7528 GB, free: 9.902 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001418/0.527, allocations: 16.02 kB / 0.7528 GB, free: 9.887 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.609e-05/0.5271, allocations: 4 kB / 0.7528 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.346e-06/0.5271, allocations: 7.938 kB / 0.7528 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.762e-05/0.5271, allocations: 83.22 kB / 0.7529 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/0.5272, allocations: 4 kB / 0.7529 GB, free: 9.789 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002932/0.5275, allocations: 4 kB / 0.7529 GB, free: 9.785 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.0005305/0.528, allocations: 0.6928 MB / 0.7536 GB, free: 9.062 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.5281, allocations: 12 kB / 0.7536 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.5281, allocations: 0 / 0.7536 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.855e-05/0.5282, allocations: 15.98 kB / 0.7536 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002179/0.5284, allocations: 4 kB / 0.7536 GB, free: 9.031 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004867/0.5289, allocations: 103.8 kB / 0.7537 GB, free: 8.895 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003101/0.5293, allocations: 0.6807 MB / 0.7544 GB, free: 8.188 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.798e-05/0.5293, allocations: 7.953 kB / 0.7544 GB, free: 8.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.956e-05/0.5294, allocations: 15.42 kB / 0.7544 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of SimCode: time 3.347e-06/0.5294, allocations: 0 / 0.7544 GB, free: 8.168 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03417/0.5636, allocations: 0.9032 MB / 0.7553 GB, free: 7.273 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003403/0.564, allocations: 157.6 kB / 0.7554 GB, free: 7.086 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/2.877, allocations: 0 / 0.7554 GB, free: 7.086 MB / 0.6355 GB