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.005797/0.005797, allocations: 97.62 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.001405/0.001406, allocations: 202.1 kB / 16.68 MB, free: 5.969 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.487/1.487, allocations: 222.9 MB / 240.4 MB, free: 4.195 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.103/1.103, allocations: 143.3 MB / 433.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002103/0.002103, allocations: 67.89 kB / 0.5953 GB, free: 8.625 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5223/0.5244, 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.003106/0.5276, allocations: 1.487 MB / 0.6769 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001658/0.5293, allocations: 0.6486 MB / 0.6775 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.075e-05/0.5293, allocations: 3.938 kB / 0.6775 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 3.348e-05/0.5294, allocations: 8.984 kB / 0.6775 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.79e-05/0.5295, allocations: 9.078 kB / 0.6775 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004714/0.5299, allocations: 73.77 kB / 0.6776 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001038/0.5301, allocations: 42.33 kB / 0.6776 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.5302, allocations: 16.92 kB / 0.6777 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 9.933e-05/0.5303, allocations: 22.59 kB / 0.6777 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 7.704e-05/0.5304, allocations: 15.7 kB / 0.6777 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.659e-05/0.5304, allocations: 2.844 kB / 0.6777 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002478/0.5307, allocations: 97.88 kB / 0.6778 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 2.353e-05/0.5307, allocations: 13.22 kB / 0.6778 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.524e-05/0.5307, allocations: 16.16 kB / 0.6778 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.531, allocations: 86.62 kB / 0.6779 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.531, allocations: 4 kB / 0.6779 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.116e-06/0.531, allocations: 1.188 kB / 0.6779 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.315e-06/0.531, allocations: 0 / 0.6779 GB, free: 15.04 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.0006321/0.5317, allocations: 364.9 kB / 0.6783 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.324e-05/0.5318, allocations: 9.219 kB / 0.6783 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.474e-05/0.5318, allocations: 43.97 kB / 0.6783 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.91e-05/0.5319, allocations: 4.219 kB / 0.6783 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001936/0.5321, allocations: 167.1 kB / 0.6785 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.647e-05/0.5321, allocations: 5.578 kB / 0.6785 GB, free: 14.4 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.185e-05/0.5321, allocations: 10.73 kB / 0.6785 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.5323, allocations: 54.25 kB / 0.6785 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.5323, allocations: 0 / 0.6785 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.5323, allocations: 1.156 kB / 0.6785 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.5324, allocations: 1.156 kB / 0.6785 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.623e-05/0.5325, allocations: 30.97 kB / 0.6786 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004231/0.5329, allocations: 287.1 kB / 0.6788 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.925e-05/0.533, allocations: 32.02 kB / 0.6789 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.319e-05/0.533, allocations: 15.47 kB / 0.6789 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005716/0.5336, allocations: 0.5613 MB / 0.6794 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.5337, allocations: 35.97 kB / 0.6795 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.5337, allocations: 4 kB / 0.6795 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2): time 0.0002638/0.5339, allocations: 63.09 kB / 0.6795 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.533e-05/0.534, allocations: 52.59 kB / 0.6796 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.5341, allocations: 126 kB / 0.6797 GB, free: 13.03 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.5342, allocations: 25.7 kB / 0.6797 GB, free: 13 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.904e-05/0.5342, allocations: 86.48 kB / 0.6798 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.765e-05/0.5342, allocations: 5.266 kB / 0.6798 GB, free: 12.91 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.33e-05/0.5343, allocations: 16.5 kB / 0.6798 GB, free: 12.89 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5344, allocations: 324 kB / 0.6801 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.615e-05/0.5345, allocations: 10.09 kB / 0.6801 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.554e-05/0.5345, allocations: 9.391 kB / 0.6802 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.629e-05/0.5346, allocations: 29.19 kB / 0.6802 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.5346, allocations: 0 / 0.6802 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001306/0.5348, allocations: 63.33 kB / 0.6802 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.5348, allocations: 5.562 kB / 0.6802 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.5348, allocations: 0 / 0.6802 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.5348, allocations: 1.125 kB / 0.6802 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.243e-05/0.5349, allocations: 8.453 kB / 0.6803 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.5349, allocations: 0 / 0.6803 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.234e-05/0.535, allocations: 2.281 kB / 0.6803 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.253e-05/0.535, allocations: 9.031 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.53e-05/0.5351, allocations: 108.2 kB / 0.6804 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.469e-05/0.5351, allocations: 5.969 kB / 0.6804 GB, free: 12.36 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001825/0.5353, allocations: 66.36 kB / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.5353, allocations: 0 / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/0.5353, allocations: 5.359 kB / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/0.5353, allocations: 0 / 0.6804 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002503/0.5356, allocations: 177.1 kB / 0.6806 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5356, allocations: 0 / 0.6806 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.244e-05/0.5356, allocations: 4.375 kB / 0.6806 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.272e-06/0.5357, allocations: 1.469 kB / 0.6806 GB, free: 12.09 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.105e-06/0.5357, allocations: 7.969 kB / 0.6806 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5357, allocations: 4 kB / 0.6806 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.5357, allocations: 1.406 kB / 0.6806 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002096/0.5359, allocations: 153.8 kB / 0.6808 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001351/0.536, allocations: 82.38 kB / 0.6809 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.727e-05/0.5361, allocations: 4 kB / 0.6809 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.299e-05/0.5361, allocations: 5.844 kB / 0.6809 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.5362, allocations: 5.328 kB / 0.6809 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.5362, allocations: 1.344 kB / 0.6809 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.574e-05/0.5363, allocations: 98.27 kB / 0.681 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5363, allocations: 0 / 0.681 GB, free: 11.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002304/0.5365, allocations: 9.469 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.0006801/0.5372, allocations: 0.685 MB / 0.6816 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001615/0.5374, allocations: 26.17 kB / 0.6817 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.5374, allocations: 0 / 0.6817 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.878e-05/0.5374, allocations: 17.36 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.000215/0.5377, allocations: 3.547 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.001465/0.5391, allocations: 1.33 MB / 0.683 GB, free: 9.762 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.5395, allocations: 0.688 MB / 0.6837 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.847e-05/0.5395, allocations: 2.25 kB / 0.6837 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.375e-05/0.5396, allocations: 18.06 kB / 0.6837 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.5396, allocations: 0 / 0.6837 GB, free: 9.039 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.5625, allocations: 1.506 MB / 0.6852 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.027/8.59, allocations: 13.59 kB / 0.6852 GB, free: 8.191 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)