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.008294/0.008294, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001915/0.001915, allocations: 194.3 kB / 16.67 MB, free: 5.973 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.408/1.408, allocations: 222.9 MB / 240.4 MB, free: 4.316 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.033/1.033, allocations: 143 MB / 433.6 MB, free: 11.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001337, allocations: 67.89 kB / 0.5951 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.463/0.4644, allocations: 82.04 MB / 0.6752 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice): time 0.002928/0.4673, allocations: 1.496 MB / 0.6766 GB, free: 15.89 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001166/0.4685, allocations: 0.6447 MB / 0.6773 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.557e-05/0.4686, allocations: 1.25 kB / 0.6773 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.146e-05/0.4686, allocations: 3.938 kB / 0.6773 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.159e-05/0.4687, allocations: 25.25 kB / 0.6773 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003659/0.4691, allocations: 78.2 kB / 0.6774 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.023e-05/0.4692, allocations: 33.77 kB / 0.6774 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.4693, allocations: 11.16 kB / 0.6774 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.727e-05/0.4694, allocations: 22 kB / 0.6774 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.907e-05/0.4695, allocations: 20.14 kB / 0.6774 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.4695, allocations: 4.25 kB / 0.6775 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001991/0.4697, allocations: 95.97 kB / 0.6775 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.4697, allocations: 13.3 kB / 0.6776 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.4697, allocations: 16.2 kB / 0.6776 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001772/0.4699, allocations: 89.16 kB / 0.6777 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.202e-05/0.4699, allocations: 3.984 kB / 0.6777 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.383e-06/0.47, allocations: 0 / 0.6777 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.47, allocations: 0 / 0.6777 GB, free: 15.12 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.0004514/0.4704, allocations: 368.9 kB / 0.678 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.4705, allocations: 9.969 kB / 0.678 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.931e-05/0.4705, allocations: 32.25 kB / 0.6781 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.4705, allocations: 3.312 kB / 0.6781 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.4707, allocations: 166.8 kB / 0.6782 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.4707, allocations: 1.688 kB / 0.6782 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/0.4707, allocations: 6.906 kB / 0.6782 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.4709, allocations: 58.8 kB / 0.6783 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.4709, allocations: 0 / 0.6783 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.471, allocations: 5.438 kB / 0.6783 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.471, allocations: 4 kB / 0.6783 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.4711, allocations: 27.41 kB / 0.6783 GB, free: 14.42 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004357/0.4715, allocations: 279.3 kB / 0.6786 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 9.78e-05/0.4716, allocations: 35.62 kB / 0.6786 GB, free: 14.08 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.645e-05/0.4717, allocations: 19.72 kB / 0.6786 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005609/0.4723, allocations: 0.5571 MB / 0.6792 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.625e-05/0.4723, allocations: 31.69 kB / 0.6792 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.4723, allocations: 3.938 kB / 0.6792 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002935/0.4726, allocations: 68.47 kB / 0.6793 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.911e-05/0.4727, allocations: 55.47 kB / 0.6793 GB, free: 13.24 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001327/0.4728, allocations: 126.9 kB / 0.6795 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.4728, allocations: 25.7 kB / 0.6795 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.4729, allocations: 86.33 kB / 0.6796 GB, free: 13 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.4729, allocations: 8.922 kB / 0.6796 GB, free: 13 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.998e-05/0.473, allocations: 11.88 kB / 0.6796 GB, free: 12.98 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.4732, allocations: 329 kB / 0.6799 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.868e-05/0.4732, allocations: 4.906 kB / 0.6799 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.577e-05/0.4733, allocations: 13.77 kB / 0.6799 GB, free: 12.64 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.979e-05/0.4734, allocations: 29.28 kB / 0.6799 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.4734, allocations: 1.094 kB / 0.6799 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001347/0.4735, allocations: 58.42 kB / 0.68 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.4736, allocations: 5.844 kB / 0.68 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4736, allocations: 0 / 0.68 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.4736, allocations: 1.188 kB / 0.68 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.559e-05/0.4737, allocations: 12.52 kB / 0.68 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.623e-06/0.4737, allocations: 0 / 0.68 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.686e-05/0.4737, allocations: 2.344 kB / 0.68 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.4738, allocations: 5.562 kB / 0.68 GB, free: 12.57 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 0.0001129/0.4739, allocations: 111.2 kB / 0.6801 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.4739, allocations: 2.438 kB / 0.6801 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001857/0.4741, allocations: 61.81 kB / 0.6802 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.4741, allocations: 1.188 kB / 0.6802 GB, free: 12.4 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.4741, allocations: 4.031 kB / 0.6802 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.4741, allocations: 0 / 0.6802 GB, free: 12.39 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.4743, allocations: 181.8 kB / 0.6804 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.4744, allocations: 3.984 kB / 0.6804 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.391e-05/0.4744, allocations: 8.438 kB / 0.6804 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4744, allocations: 0 / 0.6804 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.4744, allocations: 1.062 kB / 0.6804 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.6e-06/0.4744, allocations: 1.188 kB / 0.6804 GB, free: 12.17 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4744, allocations: 3.938 kB / 0.6804 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002086/0.4747, allocations: 161.2 kB / 0.6805 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.877e-05/0.4747, allocations: 83.34 kB / 0.6806 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.4747, allocations: 0 / 0.6806 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.614e-05/0.4748, allocations: 2.25 kB / 0.6806 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.4749, allocations: 5.141 kB / 0.6806 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.4749, allocations: 0.9688 kB / 0.6806 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.346e-05/0.4749, allocations: 102.7 kB / 0.6807 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.51e-07/0.475, allocations: 4.031 kB / 0.6807 GB, free: 11.81 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002394/0.4752, allocations: 8.125 kB / 0.6807 GB, free: 11.81 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.0006216/0.4758, allocations: 0.6853 MB / 0.6814 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001578/0.476, allocations: 25.92 kB / 0.6814 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.476, allocations: 0 / 0.6814 GB, free: 11.13 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 5.581e-05/0.4761, allocations: 16.67 kB / 0.6814 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.4763, allocations: 11.16 kB / 0.6815 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001349/0.4777, allocations: 1.32 MB / 0.6827 GB, free: 9.844 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.4779, allocations: 0.68 MB / 0.6834 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.168e-05/0.4779, allocations: 10.86 kB / 0.6834 GB, free: 9.137 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.457e-05/0.478, allocations: 12.91 kB / 0.6834 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.478, allocations: 0 / 0.6834 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.4959, allocations: 1.507 MB / 0.6849 GB, free: 8.297 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.563/8.059, allocations: 10.62 kB / 0.6849 GB, free: 8.293 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)