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.001151/0.001151, 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.001206/0.001206, allocations: 193.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.365/1.365, allocations: 222.9 MB / 240.2 MB, free: 4.402 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.014/1.014, allocations: 143 MB / 433.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.91 kB / 0.5143 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1586, allocations: 82.04 MB / 0.5944 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.002065/0.1607, allocations: 0.5702 MB / 0.595 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001726/0.1624, allocations: 1.252 MB / 0.5962 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.66e-05/0.1625, allocations: 0 / 0.5962 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.307e-05/0.1625, allocations: 8 kB / 0.5962 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-06/0.1625, allocations: 0 / 0.5962 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004293/0.1629, allocations: 63.75 kB / 0.5962 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.048e-05/0.163, allocations: 0 / 0.5962 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.173e-05/0.1631, allocations: 3.984 kB / 0.5963 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.548e-05/0.1631, allocations: 4 kB / 0.5963 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.855e-05/0.1631, allocations: 0 / 0.5963 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.436e-06/0.1631, allocations: 0 / 0.5963 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002595/0.1634, allocations: 99.89 kB / 0.5964 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.699e-06/0.1634, allocations: 7.938 kB / 0.5964 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.153e-05/0.1634, allocations: 0 / 0.5964 GB, free: 7.438 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001388/0.1636, allocations: 55.88 kB / 0.5964 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.1636, allocations: 0 / 0.5964 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1636, allocations: 0 / 0.5964 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.518e-06/0.1636, allocations: 0 / 0.5964 GB, free: 7.383 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003343/0.164, allocations: 329.6 kB / 0.5967 GB, free: 7.016 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/0.164, allocations: 8.031 kB / 0.5967 GB, free: 7.008 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.303e-05/0.1641, allocations: 30.75 kB / 0.5968 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.622e-05/0.1641, allocations: 0.9375 kB / 0.5968 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001035/0.1642, allocations: 176.4 kB / 0.5969 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1642, allocations: 384 / 0.5969 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.077e-05/0.1642, allocations: 384 / 0.5969 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001173/0.1644, allocations: 33.83 kB / 0.597 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.1644, allocations: 0 / 0.597 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.1644, allocations: 4 kB / 0.597 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1644, allocations: 0 / 0.597 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.11e-05/0.1644, allocations: 0 / 0.597 GB, free: 6.715 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.1646, allocations: 145.7 kB / 0.5971 GB, free: 6.523 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.029e-05/0.1646, allocations: 30.55 kB / 0.5971 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.914e-05/0.1647, allocations: 4.859 kB / 0.5971 GB, free: 6.477 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006088/0.1653, allocations: 0.5584 MB / 0.5977 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/0.1653, allocations: 38.5 kB / 0.5977 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/0.1653, allocations: 4 kB / 0.5977 GB, free: 5.738 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001409/0.1655, allocations: 37.64 kB / 0.5978 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.1655, allocations: 51.41 kB / 0.5978 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.675e-05/0.1656, allocations: 89.86 kB / 0.5979 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.1656, allocations: 25.7 kB / 0.5979 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.249e-05/0.1656, allocations: 80.14 kB / 0.598 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.1656, allocations: 7.906 kB / 0.598 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.579e-05/0.1657, allocations: 9.719 kB / 0.598 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.1658, allocations: 323 kB / 0.5983 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.748e-06/0.1658, allocations: 0 / 0.5983 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.011e-06/0.1658, allocations: 4 kB / 0.5983 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/0.1658, allocations: 8.859 kB / 0.5983 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.1658, allocations: 7.938 kB / 0.5983 GB, free: 5.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.078e-05/0.1659, allocations: 33.64 kB / 0.5984 GB, free: 5.012 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.1659, allocations: 9.656 kB / 0.5984 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.1659, allocations: 0 / 0.5984 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.235e-05/0.166, allocations: 4.094 kB / 0.5984 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.016e-05/0.166, allocations: 4 kB / 0.5984 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.166, allocations: 0 / 0.5984 GB, free: 4.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.376e-05/0.166, allocations: 7.922 kB / 0.5984 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.166, allocations: 3.984 kB / 0.5984 GB, free: 4.984 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: 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.005e-05/0.1661, allocations: 113.8 kB / 0.5985 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/0.1661, allocations: 3.938 kB / 0.5985 GB, free: 4.859 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.826e-05/0.1662, allocations: 37.11 kB / 0.5986 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.1662, allocations: 0 / 0.5986 GB, free: 4.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.1662, allocations: 3.984 kB / 0.5986 GB, free: 4.816 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1662, allocations: 4 kB / 0.5986 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.896e-05/0.1663, allocations: 141.7 kB / 0.5987 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1663, allocations: 3.938 kB / 0.5987 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.509e-05/0.1664, allocations: 0 / 0.5987 GB, free: 4.621 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.1664, allocations: 3.938 kB / 0.5987 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.831e-06/0.1664, allocations: 4 kB / 0.5987 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/0.1664, allocations: 0 / 0.5987 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.1664, allocations: 0 / 0.5987 GB, free: 4.613 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.593e-05/0.1665, allocations: 61.16 kB / 0.5988 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.15e-05/0.1665, allocations: 88.98 kB / 0.5988 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.357e-06/0.1665, allocations: 0 / 0.5988 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.268e-06/0.1665, allocations: 0 / 0.5988 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.297e-05/0.1665, allocations: 0 / 0.5988 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.91e-06/0.1666, allocations: 3.984 kB / 0.5989 GB, free: 4.426 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.698e-05/0.1666, allocations: 75.28 kB / 0.5989 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.61e-07/0.1666, allocations: 4.031 kB / 0.5989 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002116/0.1668, allocations: 19.98 kB / 0.5989 GB, free: 4.328 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: 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.0003518/0.1672, allocations: 0.6046 MB / 0.5995 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.635e-05/0.1672, allocations: 4 kB / 0.5995 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1672, allocations: 4.094 kB / 0.5995 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.072e-05/0.1673, allocations: 4 kB / 0.5996 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.1674, allocations: 3.938 kB / 0.5996 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003231/0.1677, allocations: 118.5 kB / 0.5997 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.168, allocations: 0.669 MB / 0.6003 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.118e-05/0.168, allocations: 0 / 0.6003 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.983e-05/0.168, allocations: 15.5 kB / 0.6003 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.168, allocations: 0 / 0.6003 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01608/0.1841, allocations: 1.016 MB / 0.6013 GB, free: 1.891 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.375/7.559, allocations: 4.094 kB / 0.6013 GB, free: 1.891 MB / 0.4981 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)