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/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.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.009012/0.009012, allocations: 100.2 kB / 15.73 MB, free: 6.031 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.001384/0.001384, allocations: 187.7 kB / 16.67 MB, free: 5.965 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.168 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 1.055/1.055, allocations: 143 MB / 433.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001283, allocations: 55.91 kB / 0.5951 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4239/0.4252, allocations: 82.03 MB / 0.6752 GB, free: 1.164 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice): time 0.002258/0.4275, allocations: 1.506 MB / 0.6766 GB, free: 15.97 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001035/0.4285, allocations: 0.6405 MB / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.328e-05/0.4286, allocations: 1.25 kB / 0.6773 GB, free: 15.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.627e-05/0.4286, allocations: 7.875 kB / 0.6773 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.398e-05/0.4287, allocations: 13.28 kB / 0.6773 GB, free: 15.45 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003357/0.429, allocations: 81.89 kB / 0.6774 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.496e-05/0.4291, allocations: 34.3 kB / 0.6774 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.837e-05/0.4292, allocations: 10.28 kB / 0.6774 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.206e-05/0.4293, allocations: 22.25 kB / 0.6774 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.509e-05/0.4293, allocations: 17.3 kB / 0.6774 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.4294, allocations: 2.969 kB / 0.6774 GB, free: 15.35 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001874/0.4296, allocations: 101 kB / 0.6775 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.781e-05/0.4296, allocations: 13.02 kB / 0.6776 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.784e-05/0.4296, allocations: 15.95 kB / 0.6776 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.4298, allocations: 86 kB / 0.6776 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.4298, allocations: 3.984 kB / 0.6777 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.492e-06/0.4298, allocations: 0 / 0.6777 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.047e-06/0.4298, allocations: 1.094 kB / 0.6777 GB, free: 15.22 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.0003972/0.4302, allocations: 360.5 kB / 0.678 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.4303, allocations: 10.22 kB / 0.678 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.644e-05/0.4303, allocations: 32.06 kB / 0.678 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.658e-05/0.4303, allocations: 11.41 kB / 0.678 GB, free: 14.79 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.4305, allocations: 170.7 kB / 0.6782 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.01e-05/0.4305, allocations: 1.562 kB / 0.6782 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.602e-05/0.4305, allocations: 10.78 kB / 0.6782 GB, free: 14.58 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.4306, allocations: 54.23 kB / 0.6783 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.4307, allocations: 0 / 0.6783 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.4307, allocations: 5.094 kB / 0.6783 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4307, allocations: 1.312 kB / 0.6783 GB, free: 14.53 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.43e-05/0.4308, allocations: 23.33 kB / 0.6783 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003162/0.4311, allocations: 286.9 kB / 0.6786 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.281e-05/0.4312, allocations: 31.5 kB / 0.6786 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.616e-05/0.4312, allocations: 19.56 kB / 0.6786 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004422/0.4317, allocations: 0.5578 MB / 0.6792 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.443e-05/0.4317, allocations: 43.44 kB / 0.6792 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.4317, allocations: 0 / 0.6792 GB, free: 13.44 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002294/0.432, allocations: 67.17 kB / 0.6793 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.078e-05/0.432, allocations: 52.53 kB / 0.6793 GB, free: 13.33 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.18e-05/0.4321, allocations: 122.3 kB / 0.6794 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.17e-05/0.4321, allocations: 29.83 kB / 0.6795 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 4.377e-05/0.4322, allocations: 86.73 kB / 0.6796 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-05/0.4322, allocations: 9.594 kB / 0.6796 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/0.4322, allocations: 11.12 kB / 0.6796 GB, free: 13.07 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.4323, allocations: 325.1 kB / 0.6799 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.04e-05/0.4324, allocations: 5.312 kB / 0.6799 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.262e-05/0.4324, allocations: 9.516 kB / 0.6799 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.558e-05/0.4325, allocations: 33.41 kB / 0.6799 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4325, allocations: 1.094 kB / 0.6799 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001155/0.4326, allocations: 59.09 kB / 0.68 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.4326, allocations: 4.688 kB / 0.68 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.898e-06/0.4327, allocations: 0 / 0.68 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.4327, allocations: 0.8438 kB / 0.68 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.907e-05/0.4327, allocations: 7.953 kB / 0.68 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4328, allocations: 1.156 kB / 0.68 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.616e-05/0.4328, allocations: 10.03 kB / 0.68 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.205e-06/0.4328, allocations: 4.938 kB / 0.68 GB, free: 12.66 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 6.399e-05/0.4329, allocations: 112 kB / 0.6801 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.67e-05/0.4329, allocations: 6.031 kB / 0.6801 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001531/0.4331, allocations: 61.95 kB / 0.6802 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.4331, allocations: 1.031 kB / 0.6802 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.4331, allocations: 0 / 0.6802 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.4331, allocations: 5.047 kB / 0.6802 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001533/0.4333, allocations: 172.5 kB / 0.6804 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.4333, allocations: 5.047 kB / 0.6804 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.064e-05/0.4333, allocations: 4.469 kB / 0.6804 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.4333, allocations: 0 / 0.6804 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.738e-06/0.4333, allocations: 1.125 kB / 0.6804 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.4333, allocations: 3.938 kB / 0.6804 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4334, allocations: 1.156 kB / 0.6804 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.4335, allocations: 157.1 kB / 0.6805 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 3.503e-05/0.4336, allocations: 82.14 kB / 0.6806 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.4336, allocations: 1.219 kB / 0.6806 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.064e-05/0.4336, allocations: 2.469 kB / 0.6806 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.778e-05/0.4337, allocations: 5.141 kB / 0.6806 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.096e-06/0.4337, allocations: 0 / 0.6806 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.983e-05/0.4337, allocations: 111.1 kB / 0.6807 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4338, allocations: 3.938 kB / 0.6807 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002227/0.434, allocations: 9.531 kB / 0.6807 GB, free: 11.91 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.000463/0.4344, allocations: 0.6888 MB / 0.6814 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001305/0.4346, allocations: 21.77 kB / 0.6814 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.4346, allocations: 96 / 0.6814 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.5e-05/0.4347, allocations: 20.08 kB / 0.6814 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.4349, allocations: 6.688 kB / 0.6814 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001221/0.4361, allocations: 1.318 MB / 0.6827 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.4364, allocations: 0.6815 MB / 0.6834 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.416e-05/0.4364, allocations: 5.391 kB / 0.6834 GB, free: 9.238 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.277e-05/0.4364, allocations: 18 kB / 0.6834 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of SimCode: time 2.1e-07/0.4364, allocations: 0 / 0.6834 GB, free: 9.227 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01699/0.4534, allocations: 1.522 MB / 0.6849 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.415/7.869, allocations: 11.78 kB / 0.6849 GB, free: 8.375 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Splice.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)