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-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.006244/0.006244, allocations: 97.38 kB / 15.73 MB, free: 5.949 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.001318/0.001318, allocations: 197.2 kB / 16.68 MB, free: 5.871 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.504/1.504, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.897/0.897, allocations: 143.3 MB / 433.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 69.94 kB / 0.5954 GB, free: 12.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1958/0.1982, allocations: 82.03 MB / 0.6755 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001669/0.1999, allocations: 0.5907 MB / 0.676 GB, free: 9.973 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.2016, allocations: 1.252 MB / 0.6773 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.511e-05/0.2016, allocations: 0 / 0.6773 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.477e-05/0.2016, allocations: 0 / 0.6773 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.36e-06/0.2016, allocations: 0 / 0.6773 GB, free: 8.703 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003534/0.202, allocations: 67.75 kB / 0.6773 GB, free: 8.637 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 3.828e-05/0.202, allocations: 4 kB / 0.6773 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.2021, allocations: 0 / 0.6773 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.266e-05/0.2021, allocations: 0 / 0.6773 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.899e-05/0.2021, allocations: 4 kB / 0.6773 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.564e-06/0.2021, allocations: 0 / 0.6773 GB, free: 8.629 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.2024, allocations: 103.9 kB / 0.6774 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 8.597e-06/0.2024, allocations: 0 / 0.6774 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.428e-05/0.2024, allocations: 0 / 0.6774 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.2026, allocations: 52.16 kB / 0.6775 GB, free: 8.477 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2026, allocations: 3.938 kB / 0.6775 GB, free: 8.473 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2026, allocations: 4 kB / 0.6775 GB, free: 8.469 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.2026, allocations: 0 / 0.6775 GB, free: 8.469 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.0003476/0.203, allocations: 327.4 kB / 0.6778 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.203, allocations: 11.97 kB / 0.6778 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.787e-05/0.203, allocations: 30.75 kB / 0.6778 GB, free: 8.051 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.063e-05/0.2031, allocations: 4.938 kB / 0.6778 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.2032, allocations: 160.4 kB / 0.678 GB, free: 7.852 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.031e-05/0.2032, allocations: 4.312 kB / 0.678 GB, free: 7.848 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-06/0.2032, allocations: 4.375 kB / 0.678 GB, free: 7.844 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.78e-05/0.2033, allocations: 37.81 kB / 0.678 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.837e-06/0.2033, allocations: 4 kB / 0.678 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.232e-06/0.2033, allocations: 0 / 0.678 GB, free: 7.797 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.751e-06/0.2033, allocations: 3.984 kB / 0.6781 GB, free: 7.793 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.897e-05/0.2034, allocations: 4 kB / 0.6781 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001471/0.2035, allocations: 141.7 kB / 0.6782 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 5.224e-05/0.2036, allocations: 26.55 kB / 0.6782 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.2036, allocations: 8.859 kB / 0.6782 GB, free: 7.555 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000599/0.2042, allocations: 0.5584 MB / 0.6788 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.2042, allocations: 34.5 kB / 0.6788 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.2043, allocations: 0 / 0.6788 GB, free: 6.824 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001244/0.2044, allocations: 41.69 kB / 0.6788 GB, free: 6.777 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.2044, allocations: 55.53 kB / 0.6789 GB, free: 6.711 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.213e-05/0.2045, allocations: 89.86 kB / 0.679 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.2045, allocations: 25.7 kB / 0.679 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.296e-05/0.2046, allocations: 80.14 kB / 0.6791 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.466e-05/0.2046, allocations: 7.938 kB / 0.6791 GB, free: 6.492 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.2046, allocations: 13.72 kB / 0.6791 GB, free: 6.473 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2048, allocations: 318.8 kB / 0.6794 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-06/0.2048, allocations: 0 / 0.6794 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.323e-06/0.2048, allocations: 4 kB / 0.6794 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.432e-05/0.2048, allocations: 8.922 kB / 0.6794 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2048, allocations: 0 / 0.6794 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.241e-05/0.2049, allocations: 37.69 kB / 0.6795 GB, free: 6.094 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.2049, allocations: 7.938 kB / 0.6795 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.2049, allocations: 0 / 0.6795 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.2049, allocations: 0 / 0.6795 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.09e-05/0.205, allocations: 4 kB / 0.6795 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.205, allocations: 0 / 0.6795 GB, free: 6.082 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.239e-05/0.205, allocations: 3.969 kB / 0.6795 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.205, allocations: 7.938 kB / 0.6795 GB, free: 6.07 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 7.179e-05/0.2051, allocations: 109.8 kB / 0.6796 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-06/0.2051, allocations: 11.88 kB / 0.6796 GB, free: 5.941 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.552e-05/0.2052, allocations: 36.81 kB / 0.6796 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/0.2052, allocations: 0 / 0.6796 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2052, allocations: 0 / 0.6796 GB, free: 5.902 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.2052, allocations: 4.031 kB / 0.6796 GB, free: 5.898 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.2054, allocations: 149.7 kB / 0.6798 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.2054, allocations: 0 / 0.6798 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.327e-05/0.2054, allocations: 0 / 0.6798 GB, free: 5.703 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.898e-06/0.2054, allocations: 3.938 kB / 0.6798 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.17e-06/0.2054, allocations: 0 / 0.6798 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.076e-06/0.2054, allocations: 4 kB / 0.6798 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2054, allocations: 0 / 0.6798 GB, free: 5.695 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.194e-05/0.2055, allocations: 65.06 kB / 0.6798 GB, free: 5.613 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.403e-05/0.2055, allocations: 81.05 kB / 0.6799 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.103e-05/0.2056, allocations: 4 kB / 0.6799 GB, free: 5.512 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.092e-05/0.2056, allocations: 4 kB / 0.6799 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-06/0.2056, allocations: 0 / 0.6799 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.2056, allocations: 0 / 0.6799 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 3.904e-05/0.2056, allocations: 75.28 kB / 0.68 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2056, allocations: 0 / 0.68 GB, free: 5.434 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0001939/0.2058, allocations: 11.94 kB / 0.68 GB, free: 5.422 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.0004297/0.2063, allocations: 0.6085 MB / 0.6806 GB, free: 4.781 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.725e-05/0.2064, allocations: 7.984 kB / 0.6806 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2064, allocations: 0 / 0.6806 GB, free: 4.773 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.009e-05/0.2064, allocations: 4 kB / 0.6806 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.2065, allocations: 160 / 0.6806 GB, free: 4.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000269/0.2068, allocations: 110.6 kB / 0.6807 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003006/0.2071, allocations: 0.6729 MB / 0.6814 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.861e-05/0.2071, allocations: 0 / 0.6814 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.525e-05/0.2071, allocations: 11.44 kB / 0.6814 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.2072, allocations: 0 / 0.6814 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02275/0.2299, allocations: 1.043 MB / 0.6824 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.765/7.995, allocations: 16.31 kB / 0.6824 GB, free: 2.973 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 & /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)