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.005762/0.005762, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001276/0.001276, allocations: 198.3 kB / 16.67 MB, free: 5.977 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.396/1.396, allocations: 222.9 MB / 240.4 MB, free: 4.293 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.041/1.041, allocations: 143 MB / 433.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 63.91 kB / 0.5951 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4767/0.4782, allocations: 82.02 MB / 0.6752 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.00404/0.4823, allocations: 1.778 MB / 0.6769 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.4843, allocations: 1.036 MB / 0.6779 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.4844, allocations: 2.188 kB / 0.6779 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0007432/0.4852, allocations: 158.4 kB / 0.6781 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003751/0.4856, allocations: 112.1 kB / 0.6782 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006006/0.4862, allocations: 174.2 kB / 0.6783 GB, free: 14.67 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0003205/0.4865, allocations: 168.7 kB / 0.6785 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001307/0.4867, allocations: 24.14 kB / 0.6785 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000151/0.4868, allocations: 75.16 kB / 0.6786 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001397/0.487, allocations: 68.94 kB / 0.6787 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 2.65e-05/0.487, allocations: 8.688 kB / 0.6787 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002043/0.4872, allocations: 54.75 kB / 0.6787 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.073e-05/0.4873, allocations: 47.53 kB / 0.6788 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 8.415e-05/0.4874, allocations: 60.78 kB / 0.6788 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0003545/0.4878, allocations: 197.6 kB / 0.679 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.4878, allocations: 0 / 0.679 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4878, allocations: 1.312 kB / 0.679 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.234e-05/0.4878, allocations: 0 / 0.679 GB, free: 14.25 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.0007904/0.4886, allocations: 0.4953 MB / 0.6795 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.4886, allocations: 9.375 kB / 0.6795 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.4887, allocations: 36.91 kB / 0.6795 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.41e-05/0.4888, allocations: 20.75 kB / 0.6796 GB, free: 13.69 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003369/0.4891, allocations: 239.2 kB / 0.6798 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.4891, allocations: 6.594 kB / 0.6798 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.481e-05/0.4891, allocations: 11.38 kB / 0.6798 GB, free: 13.43 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002063/0.4894, allocations: 91.95 kB / 0.6799 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.4894, allocations: 0 / 0.6799 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.4894, allocations: 5.031 kB / 0.6799 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.948e-05/0.4894, allocations: 3.438 kB / 0.6799 GB, free: 13.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.797e-05/0.4895, allocations: 38.89 kB / 0.6799 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005681/0.4901, allocations: 358.8 kB / 0.6803 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.4903, allocations: 70.58 kB / 0.6803 GB, free: 12.93 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.479e-05/0.4904, allocations: 32.75 kB / 0.6804 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.523e-05/0.4904, allocations: 9.141 kB / 0.6804 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001868/0.4906, allocations: 81.14 kB / 0.6805 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.4906, allocations: 1.25 kB / 0.6805 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0003683/0.491, allocations: 143.8 kB / 0.6806 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.4911, allocations: 82.31 kB / 0.6807 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002888/0.4914, allocations: 265.4 kB / 0.6809 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.4914, allocations: 30.64 kB / 0.681 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 8.487e-05/0.4915, allocations: 119.9 kB / 0.6811 GB, free: 12.32 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.376e-05/0.4915, allocations: 21.19 kB / 0.6811 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.407e-05/0.4916, allocations: 29.73 kB / 0.6811 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.4917, allocations: 327.8 kB / 0.6814 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.186e-05/0.4918, allocations: 27.42 kB / 0.6815 GB, free: 11.95 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.861e-05/0.4919, allocations: 57.09 kB / 0.6815 GB, free: 11.9 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001314/0.492, allocations: 80.73 kB / 0.6816 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.492, allocations: 0 / 0.6816 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000212/0.4923, allocations: 115.3 kB / 0.6817 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4923, allocations: 5.719 kB / 0.6817 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.525e-06/0.4923, allocations: 0 / 0.6817 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.475e-05/0.4923, allocations: 1.156 kB / 0.6817 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.708e-05/0.4924, allocations: 12.89 kB / 0.6817 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.4924, allocations: 1.172 kB / 0.6817 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.952e-05/0.4925, allocations: 24.38 kB / 0.6817 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-06/0.4925, allocations: 2.188 kB / 0.6818 GB, free: 11.75 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.0001356/0.4926, allocations: 145.6 kB / 0.6819 GB, free: 11.62 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.4927, allocations: 14.06 kB / 0.6819 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.839e-05/0.4927, allocations: 24.14 kB / 0.6819 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.133e-05/0.4927, allocations: 3.281 kB / 0.6819 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.4928, allocations: 0 / 0.6819 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.4928, allocations: 3.938 kB / 0.6819 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.493, allocations: 226.9 kB / 0.6821 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.493, allocations: 1.25 kB / 0.6822 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.309e-05/0.493, allocations: 2.406 kB / 0.6822 GB, free: 11.35 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.493, allocations: 5.234 kB / 0.6822 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.318e-05/0.4931, allocations: 5.125 kB / 0.6822 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4931, allocations: 1.125 kB / 0.6822 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4931, allocations: 0 / 0.6822 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.4933, allocations: 142.7 kB / 0.6823 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.712e-05/0.4934, allocations: 101.3 kB / 0.6824 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.4934, allocations: 5.125 kB / 0.6824 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.953e-05/0.4935, allocations: 6.188 kB / 0.6824 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.667e-05/0.4935, allocations: 11.3 kB / 0.6824 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.408e-06/0.4935, allocations: 2.469 kB / 0.6824 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001961/0.4937, allocations: 194.3 kB / 0.6826 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4937, allocations: 0 / 0.6826 GB, free: 10.98 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002653/0.494, allocations: 33.95 kB / 0.6826 GB, free: 10.97 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.001373/0.4954, allocations: 0.9981 MB / 0.6836 GB, free: 10.21 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002255/0.4956, allocations: 71.91 kB / 0.6837 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4956, allocations: 0 / 0.6837 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.628e-05/0.4957, allocations: 42.03 kB / 0.6837 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.496, allocations: 53.73 kB / 0.6838 GB, free: 10.14 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00224/0.4983, allocations: 1.948 MB / 0.6857 GB, free: 8.617 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002739/0.4986, allocations: 0.7236 MB / 0.6864 GB, free: 7.898 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 8.192e-05/0.4987, allocations: 25.78 kB / 0.6864 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.971e-05/0.4988, allocations: 45.05 kB / 0.6865 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.4988, allocations: 0 / 0.6865 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02666/0.5254, allocations: 4.59 MB / 0.6909 GB, free: 5.441 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.484/8.01, allocations: 12.75 kB / 0.6909 GB, free: 5.438 MB / 0.5137 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)