Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Splice,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8047/0.8047, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 181.4 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.589/1.589, allocations: 221.3 MB / 441.4 MB, free: 4.621 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001006, allocations: 88.86 kB / 0.5124 GB, free: 24.17 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001861/0.001861, allocations: 280.4 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.246e-05/4.247e-05, allocations: 8 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5598/0.5599, allocations: 82.77 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1368/0.6967, allocations: 109.8 MB / 0.8715 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003024/0.6972, allocations: 79.95 kB / 0.8716 GB, free: 14.69 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.006902/0.7041, allocations: 2.193 MB / 0.8738 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7041, allocations: 0 / 0.8738 GB, free: 12.51 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.247e-06/0.7041, allocations: 0 / 0.8738 GB, free: 12.51 MB / 0.5417 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.0004207/0.7046, allocations: 365.5 kB / 0.8741 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/0.7046, allocations: 8.031 kB / 0.8741 GB, free: 12.1 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.426e-05/0.7047, allocations: 34.55 kB / 0.8742 GB, free: 12.06 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.135e-05/0.7047, allocations: 11.89 kB / 0.8742 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001568/0.7049, allocations: 171 kB / 0.8743 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.7049, allocations: 4 kB / 0.8743 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/0.7049, allocations: 8 kB / 0.8743 GB, free: 11.83 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.7051, allocations: 45.69 kB / 0.8744 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.7051, allocations: 0 / 0.8744 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.214e-05/0.7051, allocations: 4 kB / 0.8744 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.7052, allocations: 0 / 0.8744 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.838e-05/0.7052, allocations: 19.94 kB / 0.8744 GB, free: 11.75 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004595/0.7057, allocations: 280.8 kB / 0.8747 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.906e-05/0.7058, allocations: 30.52 kB / 0.8747 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.7058, allocations: 12.92 kB / 0.8747 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005348/0.7064, allocations: 0.5583 MB / 0.8753 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.269e-05/0.7064, allocations: 30.56 kB / 0.8753 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.7064, allocations: 4 kB / 0.8753 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002016/0.7066, allocations: 53.55 kB / 0.8753 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.7067, allocations: 51.41 kB / 0.8754 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.7068, allocations: 112.9 kB / 0.8755 GB, free: 10.41 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.551e-05/0.7068, allocations: 25.7 kB / 0.8755 GB, free: 10.38 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.053e-05/0.7069, allocations: 88.14 kB / 0.8756 GB, free: 10.29 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.7069, allocations: 11.84 kB / 0.8756 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.7069, allocations: 0 / 0.8756 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.7071, allocations: 326.8 kB / 0.8759 GB, free: 9.945 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.7071, allocations: 7.938 kB / 0.8759 GB, free: 9.938 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.358e-05/0.7071, allocations: 4 kB / 0.8759 GB, free: 9.934 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.531e-05/0.7072, allocations: 8 kB / 0.8759 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.7072, allocations: 0 / 0.8759 GB, free: 9.926 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.226e-05/0.7073, allocations: 49.69 kB / 0.876 GB, free: 9.871 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.7073, allocations: 4 kB / 0.876 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.7073, allocations: 0 / 0.876 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.7073, allocations: 0 / 0.876 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.99e-05/0.7074, allocations: 12.09 kB / 0.876 GB, free: 9.855 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.7074, allocations: 7.266 kB / 0.876 GB, free: 9.852 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.715e-05/0.7075, allocations: 7.906 kB / 0.876 GB, free: 9.844 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.627e-06/0.7075, allocations: 0 / 0.876 GB, free: 9.844 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.593e-05/0.7076, allocations: 104.9 kB / 0.8761 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.7076, allocations: 4 kB / 0.8761 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00014/0.7077, allocations: 57.28 kB / 0.8762 GB, free: 9.672 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-06/0.7077, allocations: 4.031 kB / 0.8762 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.7078, allocations: 0 / 0.8762 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.7078, allocations: 0 / 0.8762 GB, free: 9.668 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001766/0.7079, allocations: 169.6 kB / 0.8764 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.708, allocations: 3.984 kB / 0.8764 GB, free: 9.449 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.715e-05/0.708, allocations: 4 kB / 0.8764 GB, free: 9.445 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.708, allocations: 4 kB / 0.8764 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.708, allocations: 0 / 0.8764 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.708, allocations: 0 / 0.8764 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.708, allocations: 0 / 0.8764 GB, free: 9.441 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001408/0.7082, allocations: 151.3 kB / 0.8765 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.208e-05/0.7083, allocations: 89.02 kB / 0.8766 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.7083, allocations: 0 / 0.8766 GB, free: 9.172 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.332e-05/0.7083, allocations: 7.984 kB / 0.8766 GB, free: 9.164 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.7084, allocations: 3.938 kB / 0.8766 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.7084, allocations: 0 / 0.8766 GB, free: 9.16 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 5.49e-05/0.7084, allocations: 91.28 kB / 0.8767 GB, free: 9.07 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7085, allocations: 4.031 kB / 0.8767 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002052/0.7087, allocations: 15.98 kB / 0.8767 GB, free: 9.051 MB / 0.5417 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005049/0.7092, allocations: 0.6889 MB / 0.8774 GB, free: 8.332 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.544e-05/0.7093, allocations: 12 kB / 0.8774 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.7093, allocations: 4.094 kB / 0.8774 GB, free: 8.316 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.407e-05/0.7093, allocations: 12 kB / 0.8774 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001462/0.7095, allocations: 0 / 0.8774 GB, free: 8.305 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003648/0.7098, allocations: 111.6 kB / 0.8775 GB, free: 8.16 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.7101, allocations: 0.6848 MB / 0.8782 GB, free: 7.449 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.001e-05/0.7102, allocations: 7.984 kB / 0.8782 GB, free: 7.441 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.673e-05/0.7102, allocations: 11.44 kB / 0.8782 GB, free: 7.43 MB / 0.5417 GB Notification: Performance of SimCode: time 3.21e-07/0.7102, allocations: 4.062 kB / 0.8782 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01258/0.7228, allocations: 1.23 MB / 0.8794 GB, free: 6.336 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.7231, allocations: 149.4 kB / 0.8796 GB, free: 6.113 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.602/2.325, allocations: 0 / 0.8796 GB, free: 6.113 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Splice.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Splice.pipe 2>&1)