Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001704/0.001704, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001899/0.001899, allocations: 187.1 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 205.1 MB / 222.5 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.753/1.753, allocations: 292.3 MB / 0.549 GB, free: 12.76 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 68.09 kB / 0.6718 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2217, allocations: 114.5 MB / 0.7836 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator): time 0.001972/0.2238, allocations: 0.666 MB / 0.7843 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009309/0.2247, allocations: 0.8243 MB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.2248, allocations: 0 / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.2249, allocations: 7.922 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.066e-05/0.2249, allocations: 11.88 kB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001743/0.2251, allocations: 23.97 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.002e-05/0.2252, allocations: 27.92 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.2253, allocations: 12 kB / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.326e-05/0.2254, allocations: 11.98 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.182e-05/0.2254, allocations: 19.92 kB / 0.7852 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.2254, allocations: 7.922 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.2255, allocations: 4 kB / 0.7852 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.695e-05/0.2255, allocations: 15.92 kB / 0.7852 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.922e-05/0.2256, allocations: 11.94 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.826e-05/0.2257, allocations: 39.81 kB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.2257, allocations: 0 / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2257, allocations: 0 / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.2257, allocations: 4 kB / 0.7853 GB, free: 11.56 MB / 0.6075 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.0005277/0.2262, allocations: 351.6 kB / 0.7856 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.2263, allocations: 12.03 kB / 0.7856 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.2263, allocations: 34.73 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.481e-05/0.2264, allocations: 4.844 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.2265, allocations: 176.4 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.951e-05/0.2265, allocations: 4.375 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-06/0.2266, allocations: 384 / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001986/0.2268, allocations: 70.17 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2268, allocations: 3.938 kB / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.2268, allocations: 0 / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.2268, allocations: 0 / 0.7859 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002369/0.2271, allocations: 43.95 kB / 0.786 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004188/0.2275, allocations: 284.7 kB / 0.7862 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.2276, allocations: 46.5 kB / 0.7863 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.475e-05/0.2277, allocations: 24.89 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.432e-05/0.2278, allocations: 0 / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.2278, allocations: 34.56 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.2278, allocations: 0 / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003699/0.2282, allocations: 85.64 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.09e-05/0.2282, allocations: 55.34 kB / 0.7865 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.828e-05/0.2283, allocations: 105.8 kB / 0.7866 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.391e-05/0.2284, allocations: 25.7 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.699e-05/0.2284, allocations: 96.03 kB / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.221e-05/0.2284, allocations: 0 / 0.7867 GB, free: 9.918 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/0.2285, allocations: 17.84 kB / 0.7867 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.2286, allocations: 322.7 kB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.014e-05/0.2287, allocations: 19.97 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.524e-05/0.2288, allocations: 15.98 kB / 0.787 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001567/0.2289, allocations: 40.88 kB / 0.7871 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2289, allocations: 4 kB / 0.7871 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002042/0.2292, allocations: 77.56 kB / 0.7872 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.2292, allocations: 8.875 kB / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.2292, allocations: 0 / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.135e-05/0.2292, allocations: 0 / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.803e-05/0.2293, allocations: 15.92 kB / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.689e-06/0.2293, allocations: 0 / 0.7872 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.295e-05/0.2294, allocations: 8.281 kB / 0.7872 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.2294, allocations: 3.984 kB / 0.7872 GB, free: 9.371 MB / 0.6075 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 0.000119/0.2295, allocations: 117.8 kB / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.204e-05/0.2295, allocations: 0 / 0.7873 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.2296, allocations: 7.125 kB / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.2296, allocations: 0 / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.2296, allocations: 4 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.2296, allocations: 0 / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001592/0.2298, allocations: 169.6 kB / 0.7875 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2298, allocations: 4 kB / 0.7875 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.601e-05/0.2298, allocations: 7.984 kB / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.2298, allocations: 0 / 0.7875 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.2299, allocations: 4 kB / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2299, allocations: 0 / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2299, allocations: 0 / 0.7875 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002746/0.2301, allocations: 175.4 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.031e-05/0.2302, allocations: 81.02 kB / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.2302, allocations: 4 kB / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.928e-05/0.2303, allocations: 7.984 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.293e-05/0.2303, allocations: 4 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.366e-06/0.2304, allocations: 0 / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.957e-05/0.2304, allocations: 83.27 kB / 0.7878 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2304, allocations: 4 kB / 0.7878 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002068/0.2306, allocations: 4 kB / 0.7878 GB, free: 8.609 MB / 0.6075 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.0005643/0.2312, allocations: 0.7007 MB / 0.7885 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002237/0.2314, allocations: 51.86 kB / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.2314, allocations: 0 / 0.7886 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.348e-05/0.2315, allocations: 23.97 kB / 0.7886 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002256/0.2318, allocations: 4 kB / 0.7886 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.2333, allocations: 1.268 MB / 0.7898 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.2335, allocations: 0.6807 MB / 0.7905 GB, free: 5.746 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.026e-05/0.2336, allocations: 7.984 kB / 0.7905 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.871e-05/0.2336, allocations: 11.44 kB / 0.7905 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2337, allocations: 0 / 0.7905 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01749/0.2511, allocations: 1.51 MB / 0.792 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.436/7.687, allocations: 7.891 kB / 0.792 GB, free: 4.32 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Routing_Validation_IntegerReplicator.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Routing.Validation.IntegerReplicator.pipe 2>&1)