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.006228/0.006228, allocations: 102.5 kB / 15.73 MB, free: 6.012 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.001105/0.001105, allocations: 194.9 kB / 16.67 MB, free: 5.949 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.353/1.353, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.962/0.962, allocations: 143 MB / 433.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.91 kB / 0.5951 GB, free: 8.828 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4058, allocations: 82.03 MB / 0.6752 GB, free: 1.16 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction): time 0.001591/0.4074, allocations: 0.5691 MB / 0.6758 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001493/0.409, allocations: 1.264 MB / 0.677 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.973e-05/0.409, allocations: 0 / 0.677 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.024e-05/0.409, allocations: 0.9688 kB / 0.677 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.731e-06/0.409, allocations: 0 / 0.677 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.4094, allocations: 65.09 kB / 0.6771 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 4.629e-05/0.4095, allocations: 1.406 kB / 0.6771 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.006e-05/0.4095, allocations: 0 / 0.6771 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 1.409e-05/0.4095, allocations: 1.375 kB / 0.6771 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.4096, allocations: 1.25 kB / 0.6771 GB, free: 15.68 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.564e-06/0.4096, allocations: 4 kB / 0.6771 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002396/0.4099, allocations: 98.98 kB / 0.6772 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.133e-05/0.4099, allocations: 4.984 kB / 0.6772 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 1.588e-05/0.4099, allocations: 7.922 kB / 0.6772 GB, free: 15.61 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001307/0.41, allocations: 48.61 kB / 0.6772 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.41, allocations: 3.938 kB / 0.6772 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.633e-06/0.4101, allocations: 0 / 0.6772 GB, free: 15.58 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.4101, allocations: 1.094 kB / 0.6772 GB, free: 15.58 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.0002874/0.4104, allocations: 325.1 kB / 0.6775 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.4104, allocations: 14.19 kB / 0.6776 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.232e-05/0.4104, allocations: 34.69 kB / 0.6776 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.409e-05/0.4105, allocations: 6.109 kB / 0.6776 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.417e-05/0.4106, allocations: 164.4 kB / 0.6777 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.4106, allocations: 384 / 0.6777 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.302e-06/0.4106, allocations: 1.5 kB / 0.6778 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.607e-05/0.4107, allocations: 36.14 kB / 0.6778 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.4107, allocations: 3.984 kB / 0.6778 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-06/0.4107, allocations: 0 / 0.6778 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.4107, allocations: 4 kB / 0.6778 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.766e-05/0.4107, allocations: 2.281 kB / 0.6778 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.4109, allocations: 142.8 kB / 0.6779 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 4.456e-05/0.4109, allocations: 21.3 kB / 0.678 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.525e-05/0.4109, allocations: 8.859 kB / 0.678 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005032/0.4114, allocations: 0.5635 MB / 0.6785 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.4115, allocations: 35.5 kB / 0.6785 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.4115, allocations: 0 / 0.6785 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1): time 0.0001265/0.4116, allocations: 38.89 kB / 0.6786 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.021e-05/0.4117, allocations: 56.42 kB / 0.6786 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.271e-05/0.4117, allocations: 89.86 kB / 0.6787 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.4117, allocations: 25.7 kB / 0.6787 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 3.58e-05/0.4118, allocations: 81.27 kB / 0.6788 GB, free: 13.67 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.4118, allocations: 8.875 kB / 0.6788 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.617e-05/0.4118, allocations: 10.88 kB / 0.6788 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.477e-05/0.4119, allocations: 312 kB / 0.6791 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.578e-06/0.4119, allocations: 1.25 kB / 0.6791 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.192e-06/0.412, allocations: 1.281 kB / 0.6791 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.39e-05/0.412, allocations: 11.08 kB / 0.6792 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.412, allocations: 1.312 kB / 0.6792 GB, free: 13.32 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.432e-05/0.4121, allocations: 46.59 kB / 0.6792 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4121, allocations: 12.62 kB / 0.6792 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.4121, allocations: 1.219 kB / 0.6792 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.4121, allocations: 0 / 0.6792 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.283e-05/0.4122, allocations: 2.219 kB / 0.6792 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.4122, allocations: 0 / 0.6792 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.179e-05/0.4122, allocations: 5.188 kB / 0.6792 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.4122, allocations: 0 / 0.6792 GB, free: 13.26 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 5.708e-05/0.4123, allocations: 107.3 kB / 0.6793 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.007e-06/0.4123, allocations: 7.969 kB / 0.6793 GB, free: 13.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.361e-05/0.4124, allocations: 44.81 kB / 0.6794 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4124, allocations: 1.375 kB / 0.6794 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.4124, allocations: 0 / 0.6794 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.4124, allocations: 0 / 0.6794 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.278e-05/0.4125, allocations: 143 kB / 0.6795 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.4125, allocations: 3.984 kB / 0.6795 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.735e-05/0.4125, allocations: 6.438 kB / 0.6795 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4125, allocations: 7.969 kB / 0.6795 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.4125, allocations: 1.156 kB / 0.6795 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.4125, allocations: 0 / 0.6795 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4125, allocations: 1.219 kB / 0.6795 GB, free: 12.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.992e-05/0.4126, allocations: 54.86 kB / 0.6796 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.947e-05/0.4126, allocations: 85.03 kB / 0.6797 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.278e-06/0.4127, allocations: 1.312 kB / 0.6797 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.518e-06/0.4127, allocations: 0 / 0.6797 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.315e-06/0.4127, allocations: 5.125 kB / 0.6797 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.4127, allocations: 1.312 kB / 0.6797 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 2.253e-05/0.4127, allocations: 75.28 kB / 0.6797 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4127, allocations: 0 / 0.6797 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000188/0.4129, allocations: 5.188 kB / 0.6797 GB, free: 12.65 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.0003707/0.4133, allocations: 0.6133 MB / 0.6803 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 6.418e-05/0.4134, allocations: 7.969 kB / 0.6804 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4134, allocations: 0 / 0.6804 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 6.893e-06/0.4134, allocations: 1.562 kB / 0.6804 GB, free: 12.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.4135, allocations: 5.484 kB / 0.6804 GB, free: 12.03 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002918/0.4138, allocations: 113.9 kB / 0.6805 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002406/0.4141, allocations: 0.6703 MB / 0.6811 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.888e-05/0.4141, allocations: 5.156 kB / 0.6811 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.859e-05/0.4141, allocations: 12.95 kB / 0.6811 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of SimCode: time 3.4e-07/0.4141, allocations: 0 / 0.6811 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.4306, allocations: 1.049 MB / 0.6822 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.468/7.898, allocations: 1.219 kB / 0.6822 GB, free: 10.58 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)