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.001526/0.001525, 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.001705/0.001705, allocations: 194.2 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.651/1.651, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.091/1.091, allocations: 143 MB / 433.4 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 67.83 kB / 0.5143 GB, free: 11.55 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1741, allocations: 82.04 MB / 0.5944 GB, free: 9.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.BooleanReplicator): time 0.003956/0.1781, allocations: 1.77 MB / 0.5961 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001921/0.1801, allocations: 1.022 MB / 0.5971 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001548/0.1802, allocations: 0 / 0.5971 GB, free: 6.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007135/0.181, allocations: 159.5 kB / 0.5973 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003791/0.1814, allocations: 111.6 kB / 0.5974 GB, free: 6.398 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005738/0.182, allocations: 170.9 kB / 0.5975 GB, free: 6.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.1822, allocations: 167.6 kB / 0.5977 GB, free: 6.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.1824, allocations: 29.09 kB / 0.5977 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.1825, allocations: 75.69 kB / 0.5978 GB, free: 5.965 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001228/0.1826, allocations: 71.69 kB / 0.5979 GB, free: 5.895 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.1827, allocations: 8 kB / 0.5979 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001619/0.1828, allocations: 51.98 kB / 0.5979 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.049e-05/0.1829, allocations: 43.89 kB / 0.598 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.126e-05/0.183, allocations: 67.55 kB / 0.598 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003159/0.1833, allocations: 195.7 kB / 0.5982 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.1834, allocations: 0 / 0.5982 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.814e-06/0.1834, allocations: 4 kB / 0.5982 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.566e-06/0.1834, allocations: 0 / 0.5982 GB, free: 5.531 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.0008661/0.1843, allocations: 496.2 kB / 0.5987 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.1843, allocations: 12.03 kB / 0.5987 GB, free: 4.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.357e-05/0.1844, allocations: 38.69 kB / 0.5988 GB, free: 4.934 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.071e-05/0.1844, allocations: 16.75 kB / 0.5988 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000377/0.1848, allocations: 260.7 kB / 0.599 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.1848, allocations: 384 / 0.599 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.849e-05/0.1849, allocations: 7.938 kB / 0.599 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002356/0.1851, allocations: 87.38 kB / 0.5991 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.079e-05/0.1851, allocations: 0 / 0.5991 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.1851, allocations: 4 kB / 0.5991 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.367e-05/0.1852, allocations: 0 / 0.5991 GB, free: 4.516 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.1853, allocations: 35.92 kB / 0.5991 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006703/0.186, allocations: 352.8 kB / 0.5995 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.1862, allocations: 74.61 kB / 0.5996 GB, free: 4.004 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.408e-05/0.1863, allocations: 36.84 kB / 0.5996 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.1863, allocations: 4.109 kB / 0.5996 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.1865, allocations: 83.33 kB / 0.5997 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.1865, allocations: 0 / 0.5997 GB, free: 3.867 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0003576/0.1869, allocations: 145.4 kB / 0.5998 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.734e-05/0.187, allocations: 81.11 kB / 0.5999 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002868/0.1872, allocations: 267.5 kB / 0.6001 GB, free: 3.352 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.1873, allocations: 29.7 kB / 0.6002 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.783e-05/0.1874, allocations: 120.1 kB / 0.6003 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.1874, allocations: 27.64 kB / 0.6003 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.198e-05/0.1875, allocations: 21.72 kB / 0.6003 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.1876, allocations: 330.8 kB / 0.6007 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.731e-05/0.1877, allocations: 24 kB / 0.6007 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.753e-05/0.1878, allocations: 63.62 kB / 0.6007 GB, free: 2.711 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.1879, allocations: 77.77 kB / 0.6008 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1879, allocations: 0 / 0.6008 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000221/0.1882, allocations: 117.4 kB / 0.6009 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1882, allocations: 4 kB / 0.6009 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.1882, allocations: 0 / 0.6009 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.1882, allocations: 0 / 0.6009 GB, free: 2.504 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.148e-05/0.1883, allocations: 19.92 kB / 0.6009 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1883, allocations: 0 / 0.6009 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.544e-05/0.1884, allocations: 11.97 kB / 0.601 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.042e-05/0.1884, allocations: 3.984 kB / 0.601 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.0001402/0.1885, allocations: 146.5 kB / 0.6011 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.225e-05/0.1886, allocations: 19.72 kB / 0.6011 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.046e-05/0.1886, allocations: 17.39 kB / 0.6011 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.126e-05/0.1887, allocations: 4 kB / 0.6011 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.1887, allocations: 0 / 0.6011 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.1887, allocations: 3.938 kB / 0.6011 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002116/0.1889, allocations: 225.5 kB / 0.6014 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1889, allocations: 7.938 kB / 0.6014 GB, free: 1.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.406e-05/0.1889, allocations: 3.984 kB / 0.6014 GB, free: 1.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.1889, allocations: 7.984 kB / 0.6014 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.189, allocations: 0 / 0.6014 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.189, allocations: 0 / 0.6014 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.189, allocations: 0 / 0.6014 GB, free: 1.977 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.1892, allocations: 148.7 kB / 0.6015 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.107e-05/0.1893, allocations: 100.9 kB / 0.6016 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.072e-05/0.1893, allocations: 0 / 0.6016 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.147e-05/0.1894, allocations: 4 kB / 0.6016 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.1894, allocations: 7.922 kB / 0.6016 GB, free: 1.684 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.1895, allocations: 8 kB / 0.6016 GB, free: 1.676 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001982/0.1897, allocations: 192.4 kB / 0.6018 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1897, allocations: 0 / 0.6018 GB, free: 1.488 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000254/0.1899, allocations: 39.97 kB / 0.6019 GB, free: 1.449 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.001495/0.1914, allocations: 0.9914 MB / 0.6028 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.1917, allocations: 83.83 kB / 0.6029 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.1917, allocations: 4 kB / 0.6029 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.413e-05/0.1918, allocations: 35.92 kB / 0.6029 GB, free: 480 kB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.1921, allocations: 43.2 kB / 0.603 GB, free: 440 kB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2813/0.4734, allocations: 1.945 MB / 0.6049 GB, free: 42.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001795/0.4737, allocations: 0.7214 MB / 0.6056 GB, free: 42.11 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001091/0.4738, allocations: 22.77 kB / 0.6056 GB, free: 42.11 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.622e-05/0.4739, allocations: 48.33 kB / 0.6057 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.4739, allocations: 0.7812 kB / 0.6057 GB, free: 42.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.4966, allocations: 4.438 MB / 0.61 GB, free: 41.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.862/8.359, allocations: 11.5 kB / 0.61 GB, free: 41.61 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)