Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.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.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator",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.0013/0.0013, allocations: 108 kB / 15.6 MB, free: 132 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.001362/0.001362, allocations: 192 kB / 16.53 MB, free: 6.391 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.418 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.044/1.044, allocations: 143 MB / 433.4 MB, free: 11.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002397/0.002397, allocations: 63.91 kB / 0.5143 GB, free: 11.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1797, allocations: 82.04 MB / 0.5944 GB, free: 9.488 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003386/0.1832, allocations: 1.769 MB / 0.5961 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001563/0.1847, allocations: 1.026 MB / 0.5971 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.807e-05/0.1848, allocations: 0 / 0.5971 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006066/0.1855, allocations: 167.5 kB / 0.5973 GB, free: 6.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002643/0.1857, allocations: 103.6 kB / 0.5974 GB, free: 6.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.1862, allocations: 177.7 kB / 0.5975 GB, free: 6.23 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.1864, allocations: 167.6 kB / 0.5977 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.86e-05/0.1865, allocations: 21.11 kB / 0.5977 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.1866, allocations: 71.69 kB / 0.5978 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.915e-05/0.1867, allocations: 75.69 kB / 0.5979 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.1867, allocations: 8 kB / 0.5979 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001292/0.1869, allocations: 59.97 kB / 0.5979 GB, free: 5.832 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.336e-05/0.1869, allocations: 35.91 kB / 0.598 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.133e-05/0.187, allocations: 71.59 kB / 0.598 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002525/0.1873, allocations: 191.6 kB / 0.5982 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1873, allocations: 0 / 0.5982 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1873, allocations: 0 / 0.5982 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.1873, allocations: 4 kB / 0.5982 GB, free: 5.535 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006548/0.188, allocations: 498.3 kB / 0.5987 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.188, allocations: 12.03 kB / 0.5987 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.592e-05/0.1881, allocations: 38.73 kB / 0.5987 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.1881, allocations: 16.75 kB / 0.5988 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003775/0.1885, allocations: 252.7 kB / 0.599 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.184e-05/0.1885, allocations: 384 / 0.599 GB, free: 4.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.494e-05/0.1885, allocations: 11.94 kB / 0.599 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001761/0.1887, allocations: 87.38 kB / 0.5991 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.514e-06/0.1887, allocations: 0 / 0.5991 GB, free: 4.527 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.1887, allocations: 7.984 kB / 0.5991 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.695e-05/0.1888, allocations: 3.984 kB / 0.5991 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.351e-05/0.1889, allocations: 39.92 kB / 0.5991 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004715/0.1893, allocations: 344.8 kB / 0.5995 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001968/0.1896, allocations: 74.67 kB / 0.5995 GB, free: 4.008 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.157e-05/0.1896, allocations: 36.78 kB / 0.5996 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.1897, allocations: 4.047 kB / 0.5996 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.1898, allocations: 87.31 kB / 0.5997 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.533e-06/0.1898, allocations: 4 kB / 0.5997 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003139/0.1902, allocations: 141.4 kB / 0.5998 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/0.1902, allocations: 81.11 kB / 0.5999 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002481/0.1905, allocations: 263.5 kB / 0.6001 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.1905, allocations: 33.69 kB / 0.6002 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/0.1906, allocations: 112.1 kB / 0.6003 GB, free: 3.203 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.692e-05/0.1906, allocations: 27.64 kB / 0.6003 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.472e-05/0.1907, allocations: 33.7 kB / 0.6003 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1908, allocations: 330.8 kB / 0.6006 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.471e-05/0.1909, allocations: 27.98 kB / 0.6007 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.59e-05/0.191, allocations: 55.36 kB / 0.6007 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001235/0.1911, allocations: 73.69 kB / 0.6008 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1911, allocations: 0 / 0.6008 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002025/0.1913, allocations: 117.8 kB / 0.6009 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1913, allocations: 8 kB / 0.6009 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.1913, allocations: 0 / 0.6009 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.1914, allocations: 3.938 kB / 0.6009 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.844e-05/0.1914, allocations: 8 kB / 0.6009 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1914, allocations: 7.938 kB / 0.6009 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.03e-05/0.1915, allocations: 15.92 kB / 0.6009 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.1915, allocations: 0 / 0.6009 GB, free: 2.469 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: 10 ($PRE.booTab.combiTimeTable.nextTimeEvent,$whenCondition1,booRep.y[4],booRep.y[3],booRep.y[2],booRep.y[1],booTab.combiTimeTable.nextTimeEventScaled,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEvent,booTab.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.0001132/0.1916, allocations: 142.5 kB / 0.6011 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.1917, allocations: 27.7 kB / 0.6011 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.1917, allocations: 17.39 kB / 0.6011 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.033e-05/0.1918, allocations: 4 kB / 0.6011 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/0.1918, allocations: 4 kB / 0.6011 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.1918, allocations: 3.938 kB / 0.6011 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001857/0.192, allocations: 221.5 kB / 0.6014 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.192, allocations: 3.938 kB / 0.6014 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/0.192, allocations: 4 kB / 0.6014 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.192, allocations: 0 / 0.6014 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.858e-06/0.192, allocations: 12 kB / 0.6014 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.192, allocations: 0 / 0.6014 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.192, allocations: 0 / 0.6014 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002294/0.1923, allocations: 144.8 kB / 0.6015 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.654e-05/0.1923, allocations: 92.92 kB / 0.6016 GB, free: 1.703 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.149e-05/0.1924, allocations: 7.984 kB / 0.6016 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.987e-05/0.1924, allocations: 4 kB / 0.6016 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.226e-05/0.1925, allocations: 3.938 kB / 0.6016 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.1925, allocations: 11.98 kB / 0.6016 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001859/0.1927, allocations: 196.4 kB / 0.6018 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1927, allocations: 0 / 0.6018 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002416/0.1929, allocations: 28 kB / 0.6018 GB, free: 1.457 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: 8 ($whenCondition1,booTab.y,booTab.combiTimeTable.nextTimeEvent,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * Number of discrete states: 2 (booTab.combiTimeTable.nextTimeEventScaled,booTab.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.001354/0.1943, allocations: 1.002 MB / 0.6028 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002004/0.1945, allocations: 75.84 kB / 0.6029 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1945, allocations: 0 / 0.6029 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.201e-05/0.1946, allocations: 43.92 kB / 0.6029 GB, free: 484 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002909/0.1949, allocations: 44.39 kB / 0.603 GB, free: 440 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2576/0.4525, allocations: 1.951 MB / 0.6049 GB, free: 42.51 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.4527, allocations: 0.7212 MB / 0.6056 GB, free: 41.82 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.929e-05/0.4528, allocations: 25.56 kB / 0.6056 GB, free: 41.81 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.811e-05/0.4528, allocations: 45.69 kB / 0.6056 GB, free: 41.81 MB / 0.4981 GB Notification: Performance of SimCode: time 8.02e-07/0.4528, allocations: 0.5312 kB / 0.6056 GB, free: 41.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01924/0.4721, allocations: 4.435 MB / 0.61 GB, free: 41.32 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.655/8.127, allocations: 12.2 kB / 0.61 GB, free: 41.31 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator_res.csv --start-time 0 --stop-time 600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.24 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)