Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.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.Examples.Splice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice",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.006685/0.006685, allocations: 99.55 kB / 15.73 MB, free: 6.445 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.001733/0.001733, allocations: 195.4 kB / 16.67 MB, free: 6.352 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.519/1.519, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.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 1.14/1.14, allocations: 143.3 MB / 433.8 MB, free: 11.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 71.88 kB / 0.5953 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4972/0.4991, allocations: 82.03 MB / 0.6754 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice): time 0.002549/0.5017, allocations: 1.482 MB / 0.6769 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001152/0.5029, allocations: 0.6492 MB / 0.6775 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.884e-05/0.5029, allocations: 8.906 kB / 0.6775 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.313e-05/0.503, allocations: 7.875 kB / 0.6775 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 4.798e-05/0.503, allocations: 5.094 kB / 0.6775 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.000375/0.5034, allocations: 82.42 kB / 0.6776 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.288e-05/0.5035, allocations: 29.73 kB / 0.6776 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001055/0.5036, allocations: 22.72 kB / 0.6777 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.278e-05/0.5037, allocations: 13.94 kB / 0.6777 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 6.016e-05/0.5038, allocations: 20.77 kB / 0.6777 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.5038, allocations: 3.406 kB / 0.6777 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.504, allocations: 97.73 kB / 0.6778 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.611e-05/0.504, allocations: 13.23 kB / 0.6778 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.501e-05/0.5041, allocations: 11.28 kB / 0.6778 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002248/0.5043, allocations: 92.7 kB / 0.6779 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.5043, allocations: 0 / 0.6779 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.312e-06/0.5043, allocations: 3.938 kB / 0.6779 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.5043, allocations: 1.156 kB / 0.6779 GB, free: 15.05 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005053/0.5048, allocations: 371.1 kB / 0.6783 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.5049, allocations: 8.406 kB / 0.6783 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.135e-05/0.5049, allocations: 31.88 kB / 0.6783 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.505, allocations: 4.562 kB / 0.6783 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.5051, allocations: 174.6 kB / 0.6785 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.5052, allocations: 1.438 kB / 0.6785 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.5052, allocations: 6.875 kB / 0.6785 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.5053, allocations: 54.86 kB / 0.6785 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.5054, allocations: 4 kB / 0.6785 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/0.5054, allocations: 11.98 kB / 0.6785 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.5054, allocations: 1.281 kB / 0.6785 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.5055, allocations: 31.06 kB / 0.6786 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.5059, allocations: 280 kB / 0.6788 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.141e-05/0.506, allocations: 27.33 kB / 0.6789 GB, free: 14 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.5061, allocations: 27.72 kB / 0.6789 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005683/0.5066, allocations: 0.554 MB / 0.6794 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.954e-05/0.5067, allocations: 38.48 kB / 0.6795 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.5067, allocations: 0 / 0.6795 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002721/0.507, allocations: 64.98 kB / 0.6795 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.507, allocations: 55.41 kB / 0.6796 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001129/0.5071, allocations: 122.8 kB / 0.6797 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.5072, allocations: 25.7 kB / 0.6797 GB, free: 13 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.5072, allocations: 86.83 kB / 0.6798 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.5073, allocations: 7.953 kB / 0.6798 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.5073, allocations: 16.86 kB / 0.6798 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.5075, allocations: 316.1 kB / 0.6801 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.328e-05/0.5075, allocations: 25.42 kB / 0.6802 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.551e-05/0.5076, allocations: 6.375 kB / 0.6802 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.345e-05/0.5076, allocations: 29.41 kB / 0.6802 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5077, allocations: 0 / 0.6802 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001272/0.5078, allocations: 55.39 kB / 0.6802 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/0.5078, allocations: 6.219 kB / 0.6803 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.5078, allocations: 5.109 kB / 0.6803 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.5078, allocations: 4.094 kB / 0.6803 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.491e-05/0.5079, allocations: 4.594 kB / 0.6803 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.5079, allocations: 0.9688 kB / 0.6803 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.334e-05/0.508, allocations: 2.281 kB / 0.6803 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.508, allocations: 3.938 kB / 0.6803 GB, free: 12.48 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 (2): * Single equations (assignments): 2 * 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 9.437e-05/0.5081, allocations: 116 kB / 0.6804 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.5081, allocations: 7.188 kB / 0.6804 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002078/0.5083, allocations: 61.52 kB / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.5084, allocations: 1.094 kB / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.5084, allocations: 0 / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.5084, allocations: 1.156 kB / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.5086, allocations: 176.9 kB / 0.6806 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5086, allocations: 0 / 0.6806 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.122e-05/0.5086, allocations: 4.312 kB / 0.6806 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.5086, allocations: 1.125 kB / 0.6806 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.5087, allocations: 0 / 0.6806 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.5087, allocations: 5.188 kB / 0.6806 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.5087, allocations: 3.984 kB / 0.6806 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000198/0.5089, allocations: 157.3 kB / 0.6808 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 6.02e-05/0.5089, allocations: 83.16 kB / 0.6809 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.446e-05/0.509, allocations: 0 / 0.6809 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.578e-05/0.509, allocations: 10.23 kB / 0.6809 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.013e-05/0.5091, allocations: 1.312 kB / 0.6809 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.5091, allocations: 1.031 kB / 0.6809 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.111e-05/0.5092, allocations: 106 kB / 0.681 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5092, allocations: 0 / 0.681 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002297/0.5094, allocations: 8.812 kB / 0.681 GB, free: 11.73 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 (2): * Single equations (assignments): 2 * 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.0005562/0.51, allocations: 0.6892 MB / 0.6817 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001467/0.5101, allocations: 27.08 kB / 0.6817 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.5101, allocations: 0 / 0.6817 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.92e-05/0.5102, allocations: 11.73 kB / 0.6817 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002249/0.5104, allocations: 5.5 kB / 0.6817 GB, free: 11.04 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.5119, allocations: 1.327 MB / 0.683 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.5123, allocations: 0.6883 MB / 0.6837 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.834e-05/0.5123, allocations: 2.125 kB / 0.6837 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.898e-05/0.5123, allocations: 13.56 kB / 0.6837 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of SimCode: time 2.11e-07/0.5123, allocations: 0 / 0.6837 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02375/0.5361, allocations: 1.508 MB / 0.6852 GB, free: 8.203 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.828/8.364, allocations: 1.719 kB / 0.6852 GB, free: 8.203 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)