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.856/0.856, allocations: 141.8 MB / 149.3 MB, free: 9.238 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 183.8 kB / 182.2 MB, free: 9.465 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.67/1.67, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.001001/0.001001, allocations: 91.98 kB / 0.5074 GB, free: 10.17 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002286/0.002286, allocations: 278.2 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 3.5e-05/3.556e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5665/0.5665, allocations: 82.76 MB / 0.7575 GB, free: 31.95 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1695/0.7361, allocations: 109.1 MB / 0.864 GB, free: 2.711 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002876/0.7365, allocations: 75.95 kB / 0.8641 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.007161/0.7437, allocations: 2.185 MB / 0.8662 GB, free: 460 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.994e-06/0.7438, allocations: 0 / 0.8662 GB, free: 460 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.578e-06/0.7438, allocations: 4 kB / 0.8662 GB, free: 456 kB / 0.5261 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.0003876/0.7442, allocations: 356.4 kB / 0.8665 GB, free: 56 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.7442, allocations: 15.97 kB / 0.8666 GB, free: 40 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.7443, allocations: 3.906 kB / 0.8666 GB, free: 36 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001764/0.7445, allocations: 167 kB / 0.8667 GB, free: 15.83 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.688e-05/0.7445, allocations: 7.953 kB / 0.8667 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.977e-06/0.7445, allocations: 0 / 0.8667 GB, free: 15.82 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.158e-05/0.7446, allocations: 20 kB / 0.8668 GB, free: 15.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.442e-05/0.7447, allocations: 45.69 kB / 0.8668 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.7447, allocations: 0 / 0.8668 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.7447, allocations: 0 / 0.8668 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.207e-06/0.7447, allocations: 0 / 0.8668 GB, free: 15.75 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.7451, allocations: 257.2 kB / 0.867 GB, free: 15.46 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.793e-05/0.7452, allocations: 30.58 kB / 0.8671 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.667e-05/0.7452, allocations: 8.922 kB / 0.8671 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004943/0.7457, allocations: 0.5583 MB / 0.8676 GB, free: 14.73 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.724e-05/0.7457, allocations: 34.56 kB / 0.8677 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.7458, allocations: 0 / 0.8677 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002102/0.746, allocations: 45.64 kB / 0.8677 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.963e-05/0.746, allocations: 55.41 kB / 0.8678 GB, free: 14.57 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.853e-05/0.7461, allocations: 108.6 kB / 0.8679 GB, free: 14.46 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.7461, allocations: 25.7 kB / 0.8679 GB, free: 14.43 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.884e-05/0.7462, allocations: 88.08 kB / 0.868 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.7462, allocations: 7.891 kB / 0.868 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.27e-06/0.7462, allocations: 0 / 0.868 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.7464, allocations: 326.7 kB / 0.8683 GB, free: 14 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.642e-05/0.7464, allocations: 8.031 kB / 0.8683 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.828e-06/0.7464, allocations: 0 / 0.8683 GB, free: 13.99 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.669e-05/0.7464, allocations: 8 kB / 0.8683 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.7464, allocations: 0 / 0.8683 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001024/0.7465, allocations: 49.62 kB / 0.8683 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.7466, allocations: 8 kB / 0.8684 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.7466, allocations: 3.984 kB / 0.8684 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.7466, allocations: 0 / 0.8684 GB, free: 13.92 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.732e-05/0.7467, allocations: 7.984 kB / 0.8684 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.7467, allocations: 4.094 kB / 0.8684 GB, free: 13.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.245e-05/0.7467, allocations: 4 kB / 0.8684 GB, free: 13.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.7468, allocations: 0 / 0.8684 GB, free: 13.9 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 8.444e-05/0.7468, allocations: 108.9 kB / 0.8685 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.071e-05/0.7469, allocations: 49.59 kB / 0.8685 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.747, allocations: 3.938 kB / 0.8685 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001279/0.7471, allocations: 53.59 kB / 0.8686 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.7471, allocations: 64 / 0.8686 GB, free: 13.67 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.7471, allocations: 4 kB / 0.8686 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.7471, allocations: 0 / 0.8686 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.7473, allocations: 150.2 kB / 0.8687 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7473, allocations: 0 / 0.8687 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.816e-05/0.7474, allocations: 11.98 kB / 0.8687 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.7474, allocations: 0 / 0.8687 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.7474, allocations: 0 / 0.8687 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.7474, allocations: 0 / 0.8687 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.359e-06/0.7474, allocations: 4 kB / 0.8687 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001445/0.7475, allocations: 147.4 kB / 0.8689 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.7476, allocations: 81.11 kB / 0.869 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.7476, allocations: 0 / 0.869 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.78e-05/0.7477, allocations: 4 kB / 0.869 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.7477, allocations: 3.938 kB / 0.869 GB, free: 13.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.883e-06/0.7477, allocations: 7.984 kB / 0.869 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.797e-05/0.7478, allocations: 79.28 kB / 0.869 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7478, allocations: 8.031 kB / 0.8691 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002127/0.748, allocations: 12 kB / 0.8691 GB, free: 13.09 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.0004687/0.7485, allocations: 0.6849 MB / 0.8697 GB, free: 12.38 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.514e-05/0.7486, allocations: 15.98 kB / 0.8698 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.7486, allocations: 4.094 kB / 0.8698 GB, free: 12.36 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.086e-05/0.7486, allocations: 15.94 kB / 0.8698 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001376/0.7487, allocations: 1.094 kB / 0.8698 GB, free: 12.35 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003571/0.7491, allocations: 101.5 kB / 0.8699 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.7494, allocations: 0.6885 MB / 0.8705 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.396e-05/0.7494, allocations: 0 / 0.8705 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.452e-05/0.7495, allocations: 15.42 kB / 0.8706 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of SimCode: time 2.6e-07/0.7495, allocations: 0 / 0.8706 GB, free: 11.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02082/0.7703, allocations: 0.8295 MB / 0.8714 GB, free: 10.67 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/0.7706, allocations: 140.6 kB / 0.8715 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/2.285, allocations: 0 / 0.8715 GB, free: 10.48 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)