Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_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.001469/0.001469, allocations: 107.4 kB / 15.34 MB, free: 0.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001228/0.001228, allocations: 194.5 kB / 16.26 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.117/1.117, allocations: 143 MB / 433.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.91 kB / 0.5138 GB, free: 11.87 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.178, allocations: 82.05 MB / 0.5939 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator): time 0.00354/0.1816, allocations: 1.819 MB / 0.5957 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002253/0.1839, allocations: 1.073 MB / 0.5967 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001563/0.1841, allocations: 0 / 0.5967 GB, free: 6.875 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.1845, allocations: 59.78 kB / 0.5968 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003777/0.185, allocations: 71.75 kB / 0.5969 GB, free: 6.746 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008338/0.1858, allocations: 208.1 kB / 0.5971 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003274/0.1862, allocations: 147.6 kB / 0.5972 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001381/0.1863, allocations: 17.11 kB / 0.5972 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002173/0.1865, allocations: 67.7 kB / 0.5973 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001374/0.1867, allocations: 67.75 kB / 0.5973 GB, free: 6.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.954e-05/0.1867, allocations: 8 kB / 0.5973 GB, free: 6.242 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.1869, allocations: 67.89 kB / 0.5974 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.187, allocations: 39.91 kB / 0.5974 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.013e-05/0.1871, allocations: 59.61 kB / 0.5975 GB, free: 6.078 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004283/0.1876, allocations: 203.7 kB / 0.5977 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1876, allocations: 0 / 0.5977 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.204e-06/0.1876, allocations: 0 / 0.5977 GB, free: 5.879 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.1876, allocations: 0 / 0.5977 GB, free: 5.879 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009253/0.1885, allocations: 496.2 kB / 0.5982 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.1886, allocations: 8.031 kB / 0.5982 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.848e-05/0.1887, allocations: 42.72 kB / 0.5982 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/0.1888, allocations: 16.75 kB / 0.5982 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003594/0.1891, allocations: 244.9 kB / 0.5985 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.1892, allocations: 8.375 kB / 0.5985 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.1892, allocations: 7.938 kB / 0.5985 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002409/0.1894, allocations: 100.2 kB / 0.5986 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.1894, allocations: 0 / 0.5986 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.595e-05/0.1895, allocations: 4 kB / 0.5986 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.852e-05/0.1895, allocations: 0 / 0.5986 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.1896, allocations: 35.92 kB / 0.5986 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005852/0.1902, allocations: 360.5 kB / 0.599 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002288/0.1904, allocations: 90.66 kB / 0.5991 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.473e-05/0.1905, allocations: 28.84 kB / 0.5991 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.1906, allocations: 8.031 kB / 0.5991 GB, free: 4.281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002605/0.1908, allocations: 87.34 kB / 0.5992 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=8): time 1.944e-06/0.1908, allocations: 0 / 0.5992 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8): time 0.0003789/0.1912, allocations: 133.5 kB / 0.5993 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.959e-05/0.1913, allocations: 110.8 kB / 0.5994 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002914/0.1916, allocations: 263.6 kB / 0.5997 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.533e-05/0.1916, allocations: 29.7 kB / 0.5997 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.952e-05/0.1917, allocations: 120 kB / 0.5998 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.208e-05/0.1918, allocations: 19.8 kB / 0.5998 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.457e-05/0.1918, allocations: 29.7 kB / 0.5998 GB, free: 3.438 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.192, allocations: 326.8 kB / 0.6002 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.419e-05/0.1921, allocations: 27.98 kB / 0.6002 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.1922, allocations: 72.27 kB / 0.6003 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.1923, allocations: 61.7 kB / 0.6003 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.1923, allocations: 3.938 kB / 0.6003 GB, free: 2.926 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000238/0.1926, allocations: 113.5 kB / 0.6004 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.1926, allocations: 8.031 kB / 0.6004 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1926, allocations: 4 kB / 0.6004 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.1926, allocations: 0 / 0.6004 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.1928, allocations: 15.94 kB / 0.6004 GB, free: 2.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.1928, allocations: 3.938 kB / 0.6005 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.438e-05/0.1929, allocations: 15.86 kB / 0.6005 GB, free: 2.762 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1929, allocations: 0 / 0.6005 GB, free: 2.762 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.intTab.combiTimeTable.nextTimeEvent,$whenCondition1,intRep.y[2],intRep.y[1],intTab.combiTimeTable.nextTimeEventScaled,$PRE.intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent,intTab.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * Array equations: 1 * 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.0001448/0.193, allocations: 142.5 kB / 0.6006 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.19e-05/0.1931, allocations: 15.81 kB / 0.6006 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.114e-05/0.1931, allocations: 25.39 kB / 0.6006 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/0.1931, allocations: 0 / 0.6006 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1932, allocations: 4 kB / 0.6006 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.1932, allocations: 3.938 kB / 0.6007 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002198/0.1934, allocations: 229.5 kB / 0.6009 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1934, allocations: 0 / 0.6009 GB, free: 2.285 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/0.1934, allocations: 4.188 kB / 0.6009 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1935, allocations: 0 / 0.6009 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1935, allocations: 7.922 kB / 0.6009 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.1935, allocations: 0 / 0.6009 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1935, allocations: 8 kB / 0.6009 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.1938, allocations: 144.8 kB / 0.601 GB, free: 2.105 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-05/0.1938, allocations: 92.97 kB / 0.6011 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.172e-05/0.1939, allocations: 3.984 kB / 0.6011 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.848e-05/0.1939, allocations: 7.984 kB / 0.6011 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.384e-05/0.194, allocations: 15.92 kB / 0.6011 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.66e-05/0.194, allocations: 0 / 0.6011 GB, free: 1.969 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002028/0.1942, allocations: 200.6 kB / 0.6013 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.5e-07/0.1942, allocations: 0 / 0.6013 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000282/0.1945, allocations: 36 kB / 0.6014 GB, free: 1.738 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,intTab.y,intTab.combiTimeTable.nextTimeEvent,intTab.combiTimeTable.nextTimeEventScaled,intRep.y[1],intRep.y[2]) * Number of discrete states: 2 (intTab.combiTimeTable.nextTimeEventScaled,intTab.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001548/0.1961, allocations: 0.9933 MB / 0.6023 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002386/0.1963, allocations: 83.95 kB / 0.6024 GB, free: 0.7969 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.1964, allocations: 3.938 kB / 0.6024 GB, free: 0.793 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.268e-05/0.1965, allocations: 35.97 kB / 0.6025 GB, free: 0.7578 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003026/0.1968, allocations: 39.11 kB / 0.6025 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3318/0.5286, allocations: 1.964 MB / 0.6044 GB, free: 42.96 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.5288, allocations: 0.7248 MB / 0.6051 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001151/0.5289, allocations: 20.2 kB / 0.6051 GB, free: 42.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.421e-05/0.529, allocations: 45.77 kB / 0.6052 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of SimCode: time 1.082e-06/0.529, allocations: 1.188 kB / 0.6052 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01482/0.5438, allocations: 4.507 MB / 0.6096 GB, free: 41.89 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/0.5441, allocations: 256.6 kB / 0.6098 GB, free: 41.62 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/2.468, allocations: 1.641 kB / 0.6098 GB, free: 41.62 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_IntegerReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.IntegerReplicator.pipe 2>&1)