Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",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.005022/0.005022, allocations: 100.3 kB / 15.73 MB, free: 6.062 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.00114/0.00114, allocations: 193.1 kB / 16.67 MB, free: 5.973 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.397/1.397, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.835/0.835, allocations: 143.1 MB / 433.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 64.06 kB / 0.5951 GB, free: 12.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1446, allocations: 82.03 MB / 0.6752 GB, free: 10.78 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001637/0.1462, allocations: 0.5922 MB / 0.6758 GB, free: 10.19 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.1479, allocations: 1.241 MB / 0.677 GB, free: 8.934 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.231e-05/0.1479, allocations: 4 kB / 0.677 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.042e-05/0.148, allocations: 7.875 kB / 0.677 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.562e-06/0.148, allocations: 0 / 0.677 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004151/0.1484, allocations: 63.75 kB / 0.6771 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 5.276e-05/0.1485, allocations: 3.984 kB / 0.6771 GB, free: 8.855 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.1485, allocations: 11.97 kB / 0.6771 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.412e-05/0.1485, allocations: 0 / 0.6771 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.237e-05/0.1486, allocations: 0 / 0.6771 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.657e-06/0.1486, allocations: 0 / 0.6771 GB, free: 8.844 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002519/0.1489, allocations: 103.9 kB / 0.6772 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.134e-05/0.1489, allocations: 0 / 0.6772 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.976e-05/0.1489, allocations: 0 / 0.6772 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1491, allocations: 52.16 kB / 0.6772 GB, free: 8.691 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1491, allocations: 4 kB / 0.6772 GB, free: 8.688 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.587e-06/0.1491, allocations: 3.984 kB / 0.6772 GB, free: 8.684 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.1491, allocations: 0 / 0.6772 GB, free: 8.684 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003252/0.1494, allocations: 319.4 kB / 0.6775 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.1495, allocations: 12.03 kB / 0.6776 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.1495, allocations: 38.73 kB / 0.6776 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.541e-05/0.1496, allocations: 8.875 kB / 0.6776 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.441e-05/0.1497, allocations: 160.4 kB / 0.6778 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.212e-05/0.1497, allocations: 384 / 0.6778 GB, free: 8.062 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.1497, allocations: 4.312 kB / 0.6778 GB, free: 8.059 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.984e-05/0.1498, allocations: 37.77 kB / 0.6778 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.1498, allocations: 0 / 0.6778 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1498, allocations: 0 / 0.6778 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1498, allocations: 0 / 0.6778 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.194e-05/0.1499, allocations: 0 / 0.6778 GB, free: 8.016 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001516/0.15, allocations: 157.7 kB / 0.6779 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.771e-05/0.1501, allocations: 14.58 kB / 0.678 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.063e-05/0.1501, allocations: 12.89 kB / 0.678 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005762/0.1507, allocations: 0.5583 MB / 0.6785 GB, free: 7.086 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.317e-05/0.1507, allocations: 42.5 kB / 0.6786 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1507, allocations: 0 / 0.6786 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.000142/0.1509, allocations: 29.7 kB / 0.6786 GB, free: 7 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.194e-05/0.1509, allocations: 55.41 kB / 0.6786 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.328e-05/0.151, allocations: 89.86 kB / 0.6787 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.151, allocations: 25.7 kB / 0.6787 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 2.461e-05/0.151, allocations: 80.14 kB / 0.6788 GB, free: 6.723 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.151, allocations: 3.953 kB / 0.6788 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.034e-05/0.1511, allocations: 17.7 kB / 0.6788 GB, free: 6.695 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.1512, allocations: 319 kB / 0.6791 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/0.1512, allocations: 0 / 0.6791 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.242e-06/0.1512, allocations: 3.938 kB / 0.6792 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.905e-05/0.1513, allocations: 8.859 kB / 0.6792 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1513, allocations: 0 / 0.6792 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.666e-05/0.1513, allocations: 29.7 kB / 0.6792 GB, free: 6.324 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.1513, allocations: 11.94 kB / 0.6792 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1514, allocations: 96 / 0.6792 GB, free: 6.312 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.1514, allocations: 4 kB / 0.6792 GB, free: 6.309 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.866e-05/0.1514, allocations: 7.984 kB / 0.6792 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.179e-06/0.1514, allocations: 0 / 0.6792 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.191e-05/0.1515, allocations: 4 kB / 0.6792 GB, free: 6.297 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.361e-06/0.1515, allocations: 0 / 0.6792 GB, free: 6.297 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.887e-05/0.1515, allocations: 113.8 kB / 0.6793 GB, free: 6.176 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.055e-06/0.1516, allocations: 7.875 kB / 0.6793 GB, free: 6.168 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.827e-05/0.1517, allocations: 44.81 kB / 0.6794 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1517, allocations: 0 / 0.6794 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.1517, allocations: 0 / 0.6794 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.1517, allocations: 0 / 0.6794 GB, free: 6.121 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001025/0.1518, allocations: 145.7 kB / 0.6795 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1518, allocations: 0 / 0.6795 GB, free: 5.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.891e-05/0.1518, allocations: 4 kB / 0.6795 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1518, allocations: 3.938 kB / 0.6795 GB, free: 5.922 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.199e-06/0.1518, allocations: 3.938 kB / 0.6795 GB, free: 5.918 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.719e-06/0.1518, allocations: 7.969 kB / 0.6795 GB, free: 5.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1518, allocations: 4.031 kB / 0.6795 GB, free: 5.906 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.171e-05/0.1519, allocations: 57.08 kB / 0.6796 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.152, allocations: 81.05 kB / 0.6797 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.408e-06/0.152, allocations: 0 / 0.6797 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.488e-06/0.152, allocations: 0 / 0.6797 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.152, allocations: 7.984 kB / 0.6797 GB, free: 5.727 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.152, allocations: 4 kB / 0.6797 GB, free: 5.723 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.42e-05/0.1521, allocations: 79.31 kB / 0.6798 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1521, allocations: 0 / 0.6798 GB, free: 5.645 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001989/0.1523, allocations: 7.938 kB / 0.6798 GB, free: 5.637 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0003801/0.1527, allocations: 0.6007 MB / 0.6803 GB, free: 5.004 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 7.004e-05/0.1528, allocations: 8.031 kB / 0.6804 GB, free: 4.996 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.1528, allocations: 4 kB / 0.6804 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.071e-06/0.1528, allocations: 0 / 0.6804 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.1529, allocations: 0 / 0.6804 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.1532, allocations: 110.6 kB / 0.6805 GB, free: 4.844 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/0.1534, allocations: 0.6729 MB / 0.6811 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.878e-05/0.1535, allocations: 128 / 0.6811 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.571e-05/0.1535, allocations: 11.44 kB / 0.6811 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of SimCode: time 2.61e-07/0.1535, allocations: 0 / 0.6811 GB, free: 4.133 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01714/0.1706, allocations: 1.051 MB / 0.6822 GB, free: 3.199 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.622/7.793, allocations: 5.812 kB / 0.6822 GB, free: 3.195 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)