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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001653/0.001653, allocations: 118.9 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00198/0.00198, allocations: 211.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9412/0.9412, allocations: 145 MB / 454.5 MB, free: 9.961 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 72.84 kB / 0.6287 GB, free: 33.65 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1861, allocations: 87.83 MB / 0.7145 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001852/0.188, allocations: 0.5789 MB / 0.7151 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001919/0.1899, allocations: 1.342 MB / 0.7164 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.921e-05/0.1899, allocations: 0 / 0.7164 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.327e-05/0.1899, allocations: 0 / 0.7164 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 5.901e-06/0.1899, allocations: 0 / 0.7164 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004319/0.1903, allocations: 75.73 kB / 0.7165 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.817e-05/0.1904, allocations: 7.984 kB / 0.7165 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.008e-05/0.1904, allocations: 4 kB / 0.7165 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.802e-05/0.1904, allocations: 0 / 0.7165 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.94e-05/0.1905, allocations: 0 / 0.7165 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 7.574e-06/0.1905, allocations: 0 / 0.7165 GB, free: 9.637 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002973/0.1908, allocations: 123.8 kB / 0.7166 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.516e-06/0.1908, allocations: 0 / 0.7166 GB, free: 9.516 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.575e-05/0.1908, allocations: 3.938 kB / 0.7166 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.191, allocations: 56.16 kB / 0.7167 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.191, allocations: 0 / 0.7167 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.773e-06/0.191, allocations: 0 / 0.7167 GB, free: 9.457 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.089e-06/0.191, allocations: 0 / 0.7167 GB, free: 9.457 MB / 0.5294 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.0003679/0.1913, allocations: 339.3 kB / 0.717 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.484e-05/0.1914, allocations: 12.03 kB / 0.717 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.317e-05/0.1914, allocations: 192 / 0.717 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.748e-05/0.1914, allocations: 30.75 kB / 0.717 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.122e-05/0.1915, allocations: 0.9375 kB / 0.717 GB, free: 9.027 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001228/0.1916, allocations: 164.4 kB / 0.7172 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-06/0.1916, allocations: 384 / 0.7172 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.07e-05/0.1916, allocations: 384 / 0.7172 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.701e-05/0.1917, allocations: 37.64 kB / 0.7172 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.1917, allocations: 0 / 0.7172 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-06/0.1917, allocations: 0 / 0.7172 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.1917, allocations: 0 / 0.7172 GB, free: 8.785 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.132e-05/0.1917, allocations: 11.88 kB / 0.7172 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/0.1919, allocations: 153.6 kB / 0.7174 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 4.107e-05/0.1919, allocations: 14.58 kB / 0.7174 GB, free: 8.551 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.926e-05/0.1919, allocations: 8.953 kB / 0.7174 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005903/0.1925, allocations: 0.57 MB / 0.718 GB, free: 7.84 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.1926, allocations: 30.56 kB / 0.718 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.1926, allocations: 0 / 0.718 GB, free: 7.801 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001413/0.1927, allocations: 33.64 kB / 0.718 GB, free: 7.762 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.1927, allocations: 55.41 kB / 0.7181 GB, free: 7.695 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.054e-05/0.1928, allocations: 93.98 kB / 0.7182 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.476e-05/0.1928, allocations: 25.7 kB / 0.7182 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.1928, allocations: 84.14 kB / 0.7183 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.917e-05/0.1929, allocations: 3.984 kB / 0.7183 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.1929, allocations: 13.72 kB / 0.7183 GB, free: 7.453 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00013/0.193, allocations: 314.8 kB / 0.7186 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.987e-06/0.193, allocations: 0 / 0.7186 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.23e-06/0.193, allocations: 0 / 0.7186 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.804e-05/0.1931, allocations: 12.92 kB / 0.7186 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1931, allocations: 0 / 0.7186 GB, free: 7.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.624e-05/0.1931, allocations: 41.58 kB / 0.7186 GB, free: 7.074 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.1931, allocations: 8 kB / 0.7186 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.1931, allocations: 0 / 0.7186 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1932, allocations: 0 / 0.7186 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.823e-05/0.1932, allocations: 3.984 kB / 0.7186 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.1932, allocations: 4 kB / 0.7186 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.919e-06/0.1932, allocations: 0 / 0.7186 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.1932, allocations: 4.031 kB / 0.7187 GB, free: 7.055 MB / 0.5294 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.986e-05/0.1933, allocations: 105.8 kB / 0.7188 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-06/0.1933, allocations: 3.938 kB / 0.7188 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.468e-05/0.1934, allocations: 44.77 kB / 0.7188 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1934, allocations: 7.969 kB / 0.7188 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.67e-06/0.1934, allocations: 4 kB / 0.7188 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1934, allocations: 0 / 0.7188 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.1935, allocations: 145.7 kB / 0.719 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1935, allocations: 0 / 0.719 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.73e-05/0.1935, allocations: 7.938 kB / 0.719 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1935, allocations: 0 / 0.719 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.583e-06/0.1935, allocations: 3.938 kB / 0.719 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.1935, allocations: 0 / 0.719 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.1935, allocations: 0 / 0.719 GB, free: 6.672 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.025e-05/0.1936, allocations: 61.12 kB / 0.719 GB, free: 6.594 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.175e-05/0.1937, allocations: 85.08 kB / 0.7191 GB, free: 6.492 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.948e-06/0.1937, allocations: 3.938 kB / 0.7191 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-06/0.1937, allocations: 0 / 0.7191 GB, free: 6.488 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.731e-05/0.1937, allocations: 4 kB / 0.7191 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.01e-06/0.1937, allocations: 7.922 kB / 0.7191 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.317e-05/0.1937, allocations: 75.28 kB / 0.7192 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1937, allocations: 0 / 0.7192 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002047/0.1939, allocations: 11.94 kB / 0.7192 GB, free: 6.391 MB / 0.5294 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.000464/0.1944, allocations: 0.6085 MB / 0.7198 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.687e-05/0.1945, allocations: 4 kB / 0.7198 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1945, allocations: 0 / 0.7198 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.706e-06/0.1945, allocations: 3.938 kB / 0.7198 GB, free: 5.742 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001328/0.1946, allocations: 11.98 kB / 0.7198 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003007/0.1949, allocations: 112.9 kB / 0.7199 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.1952, allocations: 0.669 MB / 0.7206 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.063e-05/0.1952, allocations: 8 kB / 0.7206 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.793e-05/0.1953, allocations: 11.42 kB / 0.7206 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.1953, allocations: 0 / 0.7206 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.2118, allocations: 1.187 MB / 0.7218 GB, free: 3.82 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.226/8.438, allocations: 17.77 kB / 0.7218 GB, free: 3.805 MB / 0.5294 GB " [Timeout remaining time 651] (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 --stepSize=0.0008 --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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.310846085019875] Failed to read output from testmodel.py, exit status != 0: 8.558338034024928 8.573340052 8.379483924 Calling exit ...