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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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.004983/0.004983, allocations: 97.34 kB / 15.73 MB, free: 6.055 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.001449/0.001449, allocations: 195.4 kB / 16.68 MB, free: 5.969 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.471/1.471, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.9164/0.9164, allocations: 143.3 MB / 433.9 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.89 kB / 0.5953 GB, free: 12.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1835, allocations: 82.03 MB / 0.6754 GB, free: 10.6 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003592/0.1871, allocations: 1.789 MB / 0.6772 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001867/0.189, allocations: 1.026 MB / 0.6782 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001073/0.1891, allocations: 0 / 0.6782 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0006566/0.1898, allocations: 163 kB / 0.6783 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003449/0.1902, allocations: 111.6 kB / 0.6784 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005311/0.1907, allocations: 171.5 kB / 0.6786 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002777/0.191, allocations: 167.6 kB / 0.6787 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001219/0.1912, allocations: 29.09 kB / 0.6788 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.1913, allocations: 63.77 kB / 0.6788 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001471/0.1915, allocations: 75.62 kB / 0.6789 GB, free: 7.004 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.675e-05/0.1915, allocations: 8 kB / 0.6789 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001685/0.1917, allocations: 63.95 kB / 0.679 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 7.565e-05/0.1918, allocations: 35.91 kB / 0.679 GB, free: 6.898 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.825e-05/0.1918, allocations: 63.55 kB / 0.6791 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003681/0.1922, allocations: 203.5 kB / 0.6793 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1922, allocations: 0 / 0.6793 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.174e-06/0.1922, allocations: 0 / 0.6793 GB, free: 6.637 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.164e-05/0.1923, allocations: 0 / 0.6793 GB, free: 6.637 MB / 0.5137 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.0008071/0.1931, allocations: 0.4922 MB / 0.6797 GB, free: 6.09 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1931, allocations: 12.02 kB / 0.6798 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.214e-05/0.1932, allocations: 42.75 kB / 0.6798 GB, free: 6.027 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.421e-05/0.1932, allocations: 20.78 kB / 0.6798 GB, free: 6.008 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003267/0.1936, allocations: 252.9 kB / 0.6801 GB, free: 5.719 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.778e-05/0.1936, allocations: 4.375 kB / 0.6801 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.67e-05/0.1936, allocations: 11.92 kB / 0.6801 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002049/0.1938, allocations: 87.33 kB / 0.6802 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.1938, allocations: 0 / 0.6802 GB, free: 5.605 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.1939, allocations: 3.984 kB / 0.6802 GB, free: 5.602 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.1939, allocations: 8 kB / 0.6802 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001094/0.194, allocations: 35.98 kB / 0.6802 GB, free: 5.559 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005647/0.1946, allocations: 344.8 kB / 0.6805 GB, free: 5.172 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001976/0.1948, allocations: 78.61 kB / 0.6806 GB, free: 5.086 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.266e-05/0.1949, allocations: 32.84 kB / 0.6806 GB, free: 5.051 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.187e-05/0.1949, allocations: 4 kB / 0.6806 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.1951, allocations: 79.48 kB / 0.6807 GB, free: 4.957 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.563e-06/0.1951, allocations: 3.938 kB / 0.6807 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0003531/0.1955, allocations: 149.5 kB / 0.6809 GB, free: 4.801 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.164e-05/0.1955, allocations: 77.11 kB / 0.6809 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002825/0.1958, allocations: 266.9 kB / 0.6812 GB, free: 4.434 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.1958, allocations: 33.7 kB / 0.6812 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.095e-05/0.1959, allocations: 112.1 kB / 0.6813 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.768e-05/0.196, allocations: 27.75 kB / 0.6814 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.4e-05/0.196, allocations: 41.62 kB / 0.6814 GB, free: 4.207 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001374/0.1962, allocations: 322.8 kB / 0.6817 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.24e-05/0.1962, allocations: 27.98 kB / 0.6817 GB, free: 3.855 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001043/0.1964, allocations: 67.34 kB / 0.6818 GB, free: 3.777 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001417/0.1965, allocations: 74.02 kB / 0.6819 GB, free: 3.699 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1965, allocations: 3.938 kB / 0.6819 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002199/0.1967, allocations: 113.5 kB / 0.682 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.1968, allocations: 4 kB / 0.682 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.573e-06/0.1968, allocations: 4 kB / 0.682 GB, free: 3.57 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/0.1968, allocations: 3.984 kB / 0.682 GB, free: 3.566 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.1969, allocations: 8 kB / 0.682 GB, free: 3.559 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1969, allocations: 4.062 kB / 0.682 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.197, allocations: 11.92 kB / 0.682 GB, free: 3.543 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.166e-05/0.197, allocations: 8 kB / 0.682 GB, free: 3.535 MB / 0.5137 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.0001413/0.1971, allocations: 134.5 kB / 0.6821 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.1972, allocations: 19.86 kB / 0.6822 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/0.1972, allocations: 25.39 kB / 0.6822 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.1973, allocations: 4 kB / 0.6822 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.1973, allocations: 0 / 0.6822 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.279e-06/0.1973, allocations: 7.938 kB / 0.6822 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002311/0.1975, allocations: 217.5 kB / 0.6824 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.097e-06/0.1975, allocations: 0 / 0.6824 GB, free: 3.074 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.504e-05/0.1976, allocations: 11.88 kB / 0.6824 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.1976, allocations: 0 / 0.6824 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.1976, allocations: 8 kB / 0.6824 GB, free: 3.055 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.1976, allocations: 3.984 kB / 0.6824 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.1976, allocations: 0 / 0.6824 GB, free: 3.051 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002504/0.1978, allocations: 148.9 kB / 0.6826 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.685e-05/0.1979, allocations: 96.94 kB / 0.6827 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.928e-05/0.198, allocations: 7.938 kB / 0.6827 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.005e-05/0.198, allocations: 4 kB / 0.6827 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.1981, allocations: 11.92 kB / 0.6827 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.216e-05/0.1981, allocations: 4 kB / 0.6827 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0002151/0.1983, allocations: 192.6 kB / 0.6829 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1983, allocations: 0 / 0.6829 GB, free: 2.559 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002522/0.1986, allocations: 35.89 kB / 0.6829 GB, free: 2.523 MB / 0.5137 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.00204/0.2006, allocations: 0.994 MB / 0.6839 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002305/0.2009, allocations: 71.97 kB / 0.684 GB, free: 1.594 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/0.2009, allocations: 3.938 kB / 0.684 GB, free: 1.59 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.384e-05/0.201, allocations: 39.98 kB / 0.684 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003294/0.2013, allocations: 51.8 kB / 0.684 GB, free: 1.504 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.2037, allocations: 1.945 MB / 0.6859 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/0.204, allocations: 0.724 MB / 0.6866 GB, free: 14.72 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 8.031e-05/0.2041, allocations: 25.72 kB / 0.6867 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.696e-05/0.2042, allocations: 47.36 kB / 0.6867 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of SimCode: time 2.31e-07/0.2042, allocations: 0 / 0.6867 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02712/0.2314, allocations: 4.54 MB / 0.6912 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.113/8.344, allocations: 8.062 kB / 0.6912 GB, free: 10.23 MB / 0.5294 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)