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.001247/0.001248, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001119/0.001119, allocations: 191.6 kB / 16.14 MB, free: 6.688 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.408/1.408, allocations: 222.9 MB / 239.8 MB, free: 4.633 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 0.9882/0.9882, allocations: 143 MB / 433 MB, free: 11.5 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 63.91 kB / 0.5136 GB, free: 12.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.1872, allocations: 82.05 MB / 0.5937 GB, free: 9.969 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003433/0.1907, allocations: 1.838 MB / 0.5955 GB, free: 8.113 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.1923, allocations: 0.9909 MB / 0.5965 GB, free: 7.113 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.183e-05/0.1925, allocations: 3.938 kB / 0.5965 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000662/0.1931, allocations: 163.7 kB / 0.5967 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002979/0.1934, allocations: 103.7 kB / 0.5968 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000552/0.194, allocations: 148.4 kB / 0.5969 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003826/0.1944, allocations: 163.6 kB / 0.5971 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002048/0.1946, allocations: 29.05 kB / 0.5971 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.1948, allocations: 67.69 kB / 0.5971 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.1949, allocations: 63.75 kB / 0.5972 GB, free: 6.387 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.361e-05/0.195, allocations: 4 kB / 0.5972 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.1952, allocations: 51.91 kB / 0.5973 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001054/0.1953, allocations: 43.83 kB / 0.5973 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.952e-05/0.1954, allocations: 55.61 kB / 0.5974 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003793/0.1958, allocations: 191.7 kB / 0.5975 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.061e-05/0.1958, allocations: 0 / 0.5975 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.713e-06/0.1958, allocations: 3.938 kB / 0.5975 GB, free: 6.043 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.973e-06/0.1958, allocations: 0 / 0.5975 GB, free: 6.043 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.001187/0.197, allocations: 0.4885 MB / 0.598 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.481e-05/0.1971, allocations: 8.031 kB / 0.598 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.316e-05/0.1972, allocations: 42.67 kB / 0.5981 GB, free: 5.441 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.643e-05/0.1973, allocations: 16.75 kB / 0.5981 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004359/0.1977, allocations: 244.8 kB / 0.5983 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.374e-05/0.1977, allocations: 8.375 kB / 0.5983 GB, free: 5.141 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.945e-05/0.1978, allocations: 3.938 kB / 0.5983 GB, free: 5.137 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.1981, allocations: 103.2 kB / 0.5984 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1981, allocations: 0 / 0.5984 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.1981, allocations: 0 / 0.5984 GB, free: 5.023 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.649e-05/0.1981, allocations: 7.984 kB / 0.5984 GB, free: 5.016 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001064/0.1983, allocations: 31.98 kB / 0.5985 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007016/0.199, allocations: 348.7 kB / 0.5988 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002092/0.1992, allocations: 74.67 kB / 0.5989 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.661e-05/0.1993, allocations: 32.84 kB / 0.5989 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1993, allocations: 0 / 0.5989 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001929/0.1995, allocations: 91.31 kB / 0.599 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.543e-06/0.1995, allocations: 0 / 0.599 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003868/0.1999, allocations: 141.4 kB / 0.5991 GB, free: 4.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.2, allocations: 81.11 kB / 0.5992 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.2003, allocations: 267.5 kB / 0.5995 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.2003, allocations: 29.7 kB / 0.5995 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001088/0.2004, allocations: 120.1 kB / 0.5996 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.2005, allocations: 27.66 kB / 0.5996 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.295e-05/0.2005, allocations: 29.7 kB / 0.5996 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2007, allocations: 322.8 kB / 0.6 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.808e-05/0.2007, allocations: 27.98 kB / 0.6 GB, free: 3.293 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001006/0.2008, allocations: 59.7 kB / 0.6 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001289/0.201, allocations: 81.69 kB / 0.6001 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.201, allocations: 0 / 0.6001 GB, free: 3.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002471/0.2012, allocations: 117.4 kB / 0.6002 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2013, allocations: 4 kB / 0.6002 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.2013, allocations: 0 / 0.6002 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.2013, allocations: 112 / 0.6002 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.911e-05/0.2014, allocations: 15.94 kB / 0.6002 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.146e-06/0.2014, allocations: 0 / 0.6002 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.14e-05/0.2015, allocations: 11.92 kB / 0.6003 GB, free: 2.984 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.2015, allocations: 8.031 kB / 0.6003 GB, free: 2.977 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.0001347/0.2016, allocations: 146.4 kB / 0.6004 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.85e-05/0.2017, allocations: 19.72 kB / 0.6004 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.262e-05/0.2017, allocations: 21.39 kB / 0.6004 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.2018, allocations: 4 kB / 0.6005 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2018, allocations: 0 / 0.6005 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.299e-06/0.2018, allocations: 3.938 kB / 0.6005 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002054/0.202, allocations: 225.5 kB / 0.6007 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.202, allocations: 4 kB / 0.6007 GB, free: 2.496 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.202, allocations: 4 kB / 0.6007 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.202, allocations: 3.984 kB / 0.6007 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.2021, allocations: 0 / 0.6007 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.2021, allocations: 0 / 0.6007 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.2021, allocations: 0 / 0.6007 GB, free: 2.488 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002411/0.2023, allocations: 156.7 kB / 0.6008 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.2024, allocations: 88.92 kB / 0.6009 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.732e-05/0.2024, allocations: 7.984 kB / 0.6009 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.2025, allocations: 8 kB / 0.6009 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.223e-05/0.2025, allocations: 7.938 kB / 0.6009 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/0.2025, allocations: 3.984 kB / 0.6009 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001808/0.2027, allocations: 192.6 kB / 0.6011 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2027, allocations: 0 / 0.6011 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002345/0.203, allocations: 24 kB / 0.6011 GB, free: 1.973 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.001486/0.2044, allocations: 1.009 MB / 0.6021 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002125/0.2047, allocations: 75.91 kB / 0.6022 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2047, allocations: 0 / 0.6022 GB, free: 1.027 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.689e-05/0.2048, allocations: 39.97 kB / 0.6022 GB, free: 0.9883 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.2051, allocations: 31.92 kB / 0.6023 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2831/0.4882, allocations: 1.966 MB / 0.6042 GB, free: 42.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00015/0.4884, allocations: 0.7249 MB / 0.6049 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001011/0.4885, allocations: 26.05 kB / 0.6049 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.55e-05/0.4886, allocations: 45.77 kB / 0.605 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of SimCode: time 7.22e-07/0.4886, allocations: 0.75 kB / 0.605 GB, free: 42.26 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01404/0.5027, allocations: 4.226 MB / 0.6091 GB, free: 41.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001889/0.5029, allocations: 253.8 kB / 0.6093 GB, free: 41.65 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.751/2.254, allocations: 0 / 0.6093 GB, free: 41.65 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_BooleanReplicator.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator.pipe 2>&1)