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.0009256/0.0009257, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.006126/0.006127, allocations: 169 kB / 16.26 MB, free: 6.652 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.363/1.363, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.994/0.994, allocations: 143.2 MB / 434.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003373, allocations: 8 kB / 0.5165 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1643/0.1646, allocations: 83.42 MB / 0.598 GB, free: 7.547 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.0006504/0.1653, allocations: 311.1 kB / 0.5983 GB, free: 7.242 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.1668, allocations: 1.248 MB / 0.5995 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.536e-06/0.1668, allocations: 0 / 0.5995 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.508e-06/0.1668, allocations: 0 / 0.5995 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.018e-06/0.1668, allocations: 0 / 0.5995 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000259/0.1671, allocations: 51.83 kB / 0.5995 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 2.986e-05/0.1671, allocations: 0 / 0.5995 GB, free: 5.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.564e-05/0.1671, allocations: 7.984 kB / 0.5996 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.113e-05/0.1672, allocations: 0 / 0.5996 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.636e-05/0.1672, allocations: 0 / 0.5996 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.352e-06/0.1672, allocations: 0 / 0.5996 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002059/0.1674, allocations: 99.89 kB / 0.5997 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.984e-06/0.1674, allocations: 0 / 0.5997 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.433e-05/0.1675, allocations: 29.64 kB / 0.5997 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.1676, allocations: 55.88 kB / 0.5997 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.1676, allocations: 0 / 0.5997 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.734e-06/0.1676, allocations: 0 / 0.5997 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.1676, allocations: 4 kB / 0.5997 GB, free: 5.727 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.0002606/0.1679, allocations: 323.6 kB / 0.6 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.1679, allocations: 8.031 kB / 0.6001 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.262e-05/0.168, allocations: 34.75 kB / 0.6001 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.656e-05/0.168, allocations: 0.9375 kB / 0.6001 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.849e-05/0.1681, allocations: 168.3 kB / 0.6002 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.346e-06/0.1681, allocations: 384 / 0.6002 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.021e-06/0.1681, allocations: 4.375 kB / 0.6003 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.709e-05/0.1682, allocations: 29.83 kB / 0.6003 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.1682, allocations: 0 / 0.6003 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.834e-06/0.1682, allocations: 0 / 0.6003 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.1682, allocations: 0 / 0.6003 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.283e-05/0.1683, allocations: 4 kB / 0.6003 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001494/0.1684, allocations: 153.7 kB / 0.6004 GB, free: 4.867 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.254e-05/0.1685, allocations: 22.55 kB / 0.6005 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.772e-05/0.1685, allocations: 4.859 kB / 0.6005 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006047/0.1691, allocations: 0.5662 MB / 0.601 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1691, allocations: 38.5 kB / 0.601 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1691, allocations: 0 / 0.601 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001379/0.1693, allocations: 29.7 kB / 0.6011 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.1693, allocations: 51.41 kB / 0.6011 GB, free: 3.988 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.549e-05/0.1694, allocations: 89.86 kB / 0.6012 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.1694, allocations: 33.64 kB / 0.6012 GB, free: 3.852 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.353e-05/0.1694, allocations: 80.14 kB / 0.6013 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.99e-05/0.1695, allocations: 7.906 kB / 0.6013 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.1695, allocations: 13.84 kB / 0.6013 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.1696, allocations: 310.8 kB / 0.6016 GB, free: 3.43 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.042e-05/0.1696, allocations: 3.984 kB / 0.6016 GB, free: 3.426 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.873e-06/0.1696, allocations: 4 kB / 0.6016 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.541e-05/0.1697, allocations: 4.859 kB / 0.6016 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1697, allocations: 3.938 kB / 0.6017 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.153e-05/0.1697, allocations: 37.7 kB / 0.6017 GB, free: 3.367 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.53e-05/0.1698, allocations: 8.031 kB / 0.6017 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1698, allocations: 4 kB / 0.6017 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1698, allocations: 0 / 0.6017 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.699e-05/0.1698, allocations: 7.938 kB / 0.6017 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.1699, allocations: 0 / 0.6017 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.144e-05/0.1699, allocations: 0 / 0.6017 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.1699, allocations: 7.922 kB / 0.6017 GB, free: 3.34 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 7.889e-05/0.17, allocations: 109.8 kB / 0.6018 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.912e-06/0.17, allocations: 3.938 kB / 0.6018 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.555e-05/0.1701, allocations: 37.11 kB / 0.6019 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.1701, allocations: 0 / 0.6019 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1701, allocations: 0 / 0.6019 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.399e-06/0.1701, allocations: 3.984 kB / 0.6019 GB, free: 3.176 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.1702, allocations: 153.7 kB / 0.602 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1702, allocations: 0 / 0.602 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.259e-05/0.1702, allocations: 0 / 0.602 GB, free: 2.977 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.1702, allocations: 3.938 kB / 0.602 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.1703, allocations: 4 kB / 0.602 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1703, allocations: 4.031 kB / 0.602 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.1703, allocations: 3.938 kB / 0.602 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.944e-05/0.1703, allocations: 57.12 kB / 0.6021 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.099e-05/0.1704, allocations: 84.98 kB / 0.6022 GB, free: 2.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.1704, allocations: 8 kB / 0.6022 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.057e-06/0.1704, allocations: 0 / 0.6022 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.248e-06/0.1705, allocations: 0 / 0.6022 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.1705, allocations: 4.031 kB / 0.6022 GB, free: 2.773 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.425e-05/0.1705, allocations: 75.28 kB / 0.6022 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1705, allocations: 0 / 0.6022 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002077/0.1707, allocations: 15.98 kB / 0.6023 GB, free: 2.684 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.000374/0.1711, allocations: 0.6007 MB / 0.6028 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 5.53e-05/0.1711, allocations: 8.031 kB / 0.6029 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1712, allocations: 0 / 0.6029 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.143e-06/0.1712, allocations: 0 / 0.6029 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001354/0.1713, allocations: 11.92 kB / 0.6029 GB, free: 2.031 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002731/0.1716, allocations: 108.4 kB / 0.603 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.1718, allocations: 0.6692 MB / 0.6036 GB, free: 1.191 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.061e-05/0.1718, allocations: 4.125 kB / 0.6036 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.511e-05/0.1719, allocations: 15.31 kB / 0.6036 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of SimCode: time 4.21e-07/0.1719, allocations: 0 / 0.6036 GB, free: 1.172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.008899/0.1808, allocations: 0.8479 MB / 0.6045 GB, free: 488 kB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002105/0.181, allocations: 216.7 kB / 0.6047 GB, free: 228 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.638/1.819, allocations: 0 / 0.6047 GB, free: 228 kB / 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)