Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.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.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial",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.0008341/0.0008339, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006479/0.006479, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.399/1.399, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.9895/0.9895, allocations: 143.2 MB / 434.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003009/0.0003009, allocations: 12 kB / 0.5165 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1532, allocations: 83.4 MB / 0.598 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial): time 0.001521/0.1547, allocations: 1.254 MB / 0.5992 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003443/0.1551, allocations: 132.5 kB / 0.5993 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.063e-05/0.1551, allocations: 3.938 kB / 0.5993 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.573e-05/0.1551, allocations: 0 / 0.5993 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/0.1552, allocations: 7.922 kB / 0.5993 GB, free: 6.156 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002001/0.1554, allocations: 23.98 kB / 0.5993 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.628e-05/0.1555, allocations: 35.86 kB / 0.5994 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.477e-05/0.1555, allocations: 15.98 kB / 0.5994 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.707e-05/0.1556, allocations: 15.91 kB / 0.5994 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.373e-05/0.1556, allocations: 15.94 kB / 0.5994 GB, free: 6.051 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.1556, allocations: 4 kB / 0.5994 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.982e-05/0.1557, allocations: 15.98 kB / 0.5994 GB, free: 6.031 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.1557, allocations: 3.984 kB / 0.5994 GB, free: 6.027 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.847e-05/0.1558, allocations: 37.64 kB / 0.5995 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.1559, allocations: 43.86 kB / 0.5995 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.1559, allocations: 4 kB / 0.5995 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1559, allocations: 3.938 kB / 0.5995 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.366e-06/0.1559, allocations: 0 / 0.5995 GB, free: 5.934 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000397/0.1563, allocations: 351.7 kB / 0.5999 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1564, allocations: 8.031 kB / 0.5999 GB, free: 5.531 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.224e-05/0.1564, allocations: 34.73 kB / 0.5999 GB, free: 5.488 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.036e-05/0.1564, allocations: 4.938 kB / 0.5999 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.166e-05/0.1565, allocations: 168.2 kB / 0.6001 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.1566, allocations: 8.375 kB / 0.6001 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.097e-06/0.1566, allocations: 384 / 0.6001 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.1568, allocations: 74.22 kB / 0.6002 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.1568, allocations: 3.938 kB / 0.6002 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.875e-06/0.1568, allocations: 0 / 0.6002 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1568, allocations: 0 / 0.6002 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001892/0.157, allocations: 59.95 kB / 0.6002 GB, free: 5.133 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000336/0.1573, allocations: 284.6 kB / 0.6005 GB, free: 4.805 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003008/0.1576, allocations: 62.53 kB / 0.6005 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.579e-05/0.1577, allocations: 36.91 kB / 0.6006 GB, free: 4.695 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002605/0.158, allocations: 397.5 kB / 0.601 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.158, allocations: 34.56 kB / 0.601 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.1581, allocations: 0 / 0.601 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0003861/0.1584, allocations: 117.6 kB / 0.6011 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.1585, allocations: 51.41 kB / 0.6012 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.383e-05/0.1586, allocations: 105.8 kB / 0.6013 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.358e-05/0.1586, allocations: 25.7 kB / 0.6013 GB, free: 3.844 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.566e-05/0.1586, allocations: 92.14 kB / 0.6014 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.417e-05/0.1587, allocations: 3.906 kB / 0.6014 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/0.1587, allocations: 9.719 kB / 0.6014 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1588, allocations: 326.8 kB / 0.6017 GB, free: 3.402 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.634e-05/0.1589, allocations: 27.92 kB / 0.6017 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.395e-05/0.159, allocations: 27.92 kB / 0.6017 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.1592, allocations: 56.81 kB / 0.6018 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1592, allocations: 0 / 0.6018 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002186/0.1594, allocations: 93.78 kB / 0.6019 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1594, allocations: 7.984 kB / 0.6019 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1594, allocations: 0 / 0.6019 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/0.1594, allocations: 0 / 0.6019 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.092e-05/0.1595, allocations: 12 kB / 0.6019 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1595, allocations: 3.984 kB / 0.6019 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.975e-05/0.1596, allocations: 12.05 kB / 0.6019 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1596, allocations: 3.984 kB / 0.6019 GB, free: 3.152 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (falFac.y,rea2Int.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * 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 7.876e-05/0.1597, allocations: 117.8 kB / 0.602 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.468e-05/0.1597, allocations: 3.984 kB / 0.602 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000299/0.16, allocations: 97.48 kB / 0.6021 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/0.1601, allocations: 0 / 0.6021 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.1601, allocations: 0 / 0.6021 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.1601, allocations: 0 / 0.6021 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001697/0.1602, allocations: 169.6 kB / 0.6023 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1603, allocations: 4 kB / 0.6023 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.515e-05/0.1603, allocations: 15.98 kB / 0.6023 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.1603, allocations: 0 / 0.6023 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.1604, allocations: 4 kB / 0.6023 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1604, allocations: 0 / 0.6023 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1604, allocations: 0 / 0.6023 GB, free: 2.676 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.1607, allocations: 199.3 kB / 0.6025 GB, free: 2.465 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.488e-05/0.1607, allocations: 77.11 kB / 0.6026 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.1607, allocations: 0 / 0.6026 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.1608, allocations: 11.98 kB / 0.6026 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.1609, allocations: 4 kB / 0.6026 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-06/0.1609, allocations: 0 / 0.6026 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.567e-05/0.1609, allocations: 95.56 kB / 0.6027 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.7e-07/0.1609, allocations: 0 / 0.6027 GB, free: 2.262 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002199/0.1611, allocations: 11.94 kB / 0.6027 GB, free: 2.25 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: 2 (rea2Int.y,falFac.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * 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 Backend phase and start with SimCode phase: time 0.0005931/0.1617, allocations: 0.728 MB / 0.6034 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.162, allocations: 55.89 kB / 0.6035 GB, free: 1.441 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.162, allocations: 3.938 kB / 0.6035 GB, free: 1.438 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.804e-05/0.1621, allocations: 35.97 kB / 0.6035 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.1624, allocations: 9.734 kB / 0.6035 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.1637, allocations: 1.313 MB / 0.6048 GB, free: 8 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2442/0.408, allocations: 0.6862 MB / 0.6055 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.063e-05/0.4081, allocations: 7.078 kB / 0.6055 GB, free: 40.08 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.385e-05/0.4081, allocations: 13.88 kB / 0.6055 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of SimCode: time 1.222e-06/0.4081, allocations: 0 / 0.6055 GB, free: 40.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0114/0.4195, allocations: 1.427 MB / 0.6069 GB, free: 39.99 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001383/0.4197, allocations: 207.4 kB / 0.6071 GB, free: 39.74 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.669/2.089, allocations: 0 / 0.6071 GB, free: 39.74 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial_fmu --startTime=0 --stopTime=11 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_FallingFactorial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.FallingFactorial.pipe 2>&1)