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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/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.00123/0.00123, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001344/0.001345, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 239.9 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9835/0.9835, allocations: 143.3 MB / 434.3 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003076/0.0003076, allocations: 8 kB / 0.5159 GB, free: 11.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1879, allocations: 83.41 MB / 0.5974 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.002248/0.1902, allocations: 1.461 MB / 0.5988 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001553/0.1918, allocations: 0.9135 MB / 0.5997 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.127e-05/0.1919, allocations: 4 kB / 0.5997 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0005828/0.1925, allocations: 143.7 kB / 0.5998 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002208/0.1927, allocations: 99.72 kB / 0.5999 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004094/0.1931, allocations: 143 kB / 0.6 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.1933, allocations: 99.8 kB / 0.6001 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.374e-05/0.1934, allocations: 13.12 kB / 0.6001 GB, free: 4.914 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.1935, allocations: 63.75 kB / 0.6002 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.295e-05/0.1936, allocations: 55.75 kB / 0.6003 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.903e-05/0.1936, allocations: 4 kB / 0.6003 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001064/0.1937, allocations: 39.92 kB / 0.6003 GB, free: 4.754 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.882e-05/0.1938, allocations: 35.89 kB / 0.6003 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 5.752e-05/0.1939, allocations: 53.58 kB / 0.6004 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.194, allocations: 148 kB / 0.6005 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.696e-06/0.1941, allocations: 0 / 0.6005 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.522e-06/0.1941, allocations: 0 / 0.6005 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.309e-06/0.1941, allocations: 0 / 0.6005 GB, free: 4.516 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.0006857/0.1948, allocations: 472.3 kB / 0.601 GB, free: 4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1948, allocations: 12.03 kB / 0.601 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.779e-05/0.1949, allocations: 34.56 kB / 0.601 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.1949, allocations: 19.72 kB / 0.601 GB, free: 3.926 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003012/0.1952, allocations: 243.7 kB / 0.6013 GB, free: 3.645 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.1952, allocations: 7.984 kB / 0.6013 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.1953, allocations: 4 kB / 0.6013 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.1954, allocations: 83.39 kB / 0.6014 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1955, allocations: 3.938 kB / 0.6014 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.526e-05/0.1955, allocations: 7.984 kB / 0.6014 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.673e-05/0.1955, allocations: 3.938 kB / 0.6014 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.967e-05/0.1956, allocations: 35.92 kB / 0.6014 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004949/0.1961, allocations: 352.7 kB / 0.6018 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001875/0.1963, allocations: 82.61 kB / 0.6018 GB, free: 3.004 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.088e-05/0.1963, allocations: 3.984 kB / 0.6018 GB, free: 3 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001695/0.1965, allocations: 79.44 kB / 0.6019 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.1965, allocations: 0 / 0.6019 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003647/0.1969, allocations: 230.5 kB / 0.6021 GB, free: 2.66 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.463e-05/0.197, allocations: 81.11 kB / 0.6022 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/0.1972, allocations: 259.7 kB / 0.6025 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.1973, allocations: 25.7 kB / 0.6025 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.1974, allocations: 120 kB / 0.6026 GB, free: 2.148 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.883e-05/0.1974, allocations: 27.64 kB / 0.6026 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.609e-06/0.1974, allocations: 4 kB / 0.6026 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.1975, allocations: 326.8 kB / 0.6029 GB, free: 1.789 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.166e-05/0.1976, allocations: 27.98 kB / 0.603 GB, free: 1.762 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.035e-05/0.1977, allocations: 59.41 kB / 0.603 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.674e-05/0.1978, allocations: 31.94 kB / 0.6031 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.1978, allocations: 0 / 0.6031 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001962/0.198, allocations: 121.8 kB / 0.6032 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.198, allocations: 4 kB / 0.6032 GB, free: 1.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.198, allocations: 7.984 kB / 0.6032 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.198, allocations: 0 / 0.6032 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.287e-05/0.1981, allocations: 11.98 kB / 0.6032 GB, free: 1.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.152e-06/0.1981, allocations: 3.953 kB / 0.6032 GB, free: 1.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.36e-05/0.1982, allocations: 8 kB / 0.6032 GB, free: 1.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.947e-06/0.1982, allocations: 4 kB / 0.6032 GB, free: 1.496 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 ($whenCondition1,$PRE.booTab.combiTimeTable.nextTimeEvent,booTab.y,booTab.combiTimeTable.nextTimeEvent,$PRE.booTab.combiTimeTable.nextTimeEventScaled,booTab.combiTimeTable.nextTimeEventScaled,booRep.y[1],booRep.y[2],booRep.y[3],booRep.y[4]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001333/0.1983, allocations: 149.9 kB / 0.6033 GB, free: 1.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.135e-05/0.1984, allocations: 15.75 kB / 0.6034 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.797e-05/0.1984, allocations: 25.39 kB / 0.6034 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/0.1984, allocations: 4 kB / 0.6034 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.1984, allocations: 4 kB / 0.6034 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.1985, allocations: 3.953 kB / 0.6034 GB, free: 1.281 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001981/0.1987, allocations: 221.4 kB / 0.6036 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.1987, allocations: 0 / 0.6036 GB, free: 1.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.32e-05/0.1987, allocations: 7.984 kB / 0.6036 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1987, allocations: 4 kB / 0.6036 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.1987, allocations: 4 kB / 0.6036 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1987, allocations: 0 / 0.6036 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1987, allocations: 0 / 0.6036 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002372/0.199, allocations: 148.8 kB / 0.6038 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.199, allocations: 92.92 kB / 0.6039 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/0.1991, allocations: 4 kB / 0.6039 GB, free: 0.7227 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.641e-05/0.1991, allocations: 11.98 kB / 0.6039 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.1992, allocations: 4 kB / 0.6039 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.688e-06/0.1992, allocations: 0 / 0.6039 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001886/0.1994, allocations: 196.6 kB / 0.6041 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1994, allocations: 0 / 0.6041 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002492/0.1997, allocations: 35.98 kB / 0.6041 GB, free: 492 kB / 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 (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.3222/0.5219, allocations: 0.9923 MB / 0.6051 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003152/0.5222, allocations: 75.84 kB / 0.6051 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.5222, allocations: 0 / 0.6051 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.378e-05/0.5223, allocations: 40.67 kB / 0.6052 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002975/0.5226, allocations: 29.52 kB / 0.6052 GB, free: 40.65 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.5241, allocations: 1.102 MB / 0.6063 GB, free: 40.09 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001709/0.5242, allocations: 0.7324 MB / 0.607 GB, free: 39.4 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.119e-05/0.5243, allocations: 23.56 kB / 0.607 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.054e-05/0.5244, allocations: 45.36 kB / 0.6071 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.5244, allocations: 3.875 kB / 0.6071 GB, free: 39.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01503/0.5395, allocations: 3.977 MB / 0.611 GB, free: 39.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001791/0.5397, allocations: 229.1 kB / 0.6112 GB, free: 38.83 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.8/2.34, allocations: 2.953 kB / 0.6112 GB, free: 38.83 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/linux/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) Environment - environmentSimulation: