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/BuildSysPro 3.4.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice") translateModel(BuildSysPro.IBPSA.Utilities.Math.Examples.Splice,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/UsersGuide/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: License Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.4.0/package.mo): time 0.6686/0.6686, allocations: 117.9 MB / 133.9 MB, free: 9.219 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009515/0.0009513, allocations: 187.5 kB / 161.7 MB, free: 13.98 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.666/1.666, allocations: 205.4 MB / 394.8 MB, free: 10.02 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008548/0.0008547, allocations: 92.66 kB / 470.1 MB, free: 29.16 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004094, allocations: 20 kB / 0.5423 GB, free: 9.762 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1926/0.193, allocations: 74.53 MB / 0.6151 GB, free: 15.17 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5145/0.7075, allocations: 102.9 MB / 0.7156 GB, free: 30.71 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.7079, allocations: 80.28 kB / 0.7157 GB, free: 30.68 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.005429/0.7133, allocations: 1.85 MB / 0.7175 GB, free: 29.52 MB / 0.4948 GB Notification: Performance of FrontEnd: time 4.098e-06/0.7133, allocations: 0 / 0.7175 GB, free: 29.52 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.7134, allocations: 4 kB / 0.7175 GB, free: 29.52 MB / 0.4948 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.0003734/0.7138, allocations: 371.9 kB / 0.7178 GB, free: 29.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.7138, allocations: 12.69 kB / 0.7179 GB, free: 29.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.896e-05/0.7139, allocations: 5.469 kB / 0.7179 GB, free: 29.1 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.714, allocations: 170.2 kB / 0.718 GB, free: 28.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.714, allocations: 4.375 kB / 0.718 GB, free: 28.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.368e-05/0.714, allocations: 4.406 kB / 0.718 GB, free: 28.89 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.7142, allocations: 52.03 kB / 0.7181 GB, free: 28.85 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.7142, allocations: 192 / 0.7181 GB, free: 28.85 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.7142, allocations: 7.125 kB / 0.7181 GB, free: 28.84 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.7143, allocations: 6.75 kB / 0.7181 GB, free: 28.84 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.045e-05/0.7144, allocations: 36.45 kB / 0.7181 GB, free: 28.82 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003858/0.7147, allocations: 283.6 kB / 0.7184 GB, free: 28.52 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 8.358e-05/0.7148, allocations: 37.55 kB / 0.7184 GB, free: 28.48 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.798e-05/0.7149, allocations: 21.62 kB / 0.7185 GB, free: 28.46 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003576/0.7153, allocations: 0.5508 MB / 0.719 GB, free: 27.79 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.7153, allocations: 34.75 kB / 0.719 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.7153, allocations: 0 / 0.719 GB, free: 27.75 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.0003277/0.7156, allocations: 71.72 kB / 0.7191 GB, free: 27.69 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.7157, allocations: 51.41 kB / 0.7191 GB, free: 27.62 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.7158, allocations: 118.3 kB / 0.7193 GB, free: 27.51 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.186e-05/0.7158, allocations: 29.7 kB / 0.7193 GB, free: 27.48 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 4.502e-05/0.7159, allocations: 87.66 kB / 0.7194 GB, free: 27.39 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 1.787e-05/0.7159, allocations: 8.688 kB / 0.7194 GB, free: 27.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.7159, allocations: 0 / 0.7194 GB, free: 27.39 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 7.908e-05/0.716, allocations: 323.7 kB / 0.7197 GB, free: 27.07 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.814e-05/0.716, allocations: 18.12 kB / 0.7197 GB, free: 27.05 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.7161, allocations: 12.47 kB / 0.7197 GB, free: 27.05 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.227e-05/0.7162, allocations: 31.62 kB / 0.7197 GB, free: 27.02 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.7162, allocations: 0 / 0.7197 GB, free: 27.02 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000119/0.7163, allocations: 62.12 kB / 0.7198 GB, free: 26.96 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.7163, allocations: 4.656 kB / 0.7198 GB, free: 26.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.7164, allocations: 0.5625 kB / 0.7198 GB, free: 26.96 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.7164, allocations: 0 / 0.7198 GB, free: 26.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.907e-05/0.7165, allocations: 10.25 kB / 0.7198 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.7165, allocations: 4.031 kB / 0.7198 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.596e-05/0.7165, allocations: 5.484 kB / 0.7198 GB, free: 26.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.7165, allocations: 4.688 kB / 0.7198 GB, free: 26.94 MB / 0.4948 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.073e-05/0.7166, allocations: 117.9 kB / 0.7199 GB, free: 26.82 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.7167, allocations: 0 / 0.7199 GB, free: 26.82 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.7169, allocations: 71.89 kB / 0.72 GB, free: 26.76 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.7169, allocations: 4.828 kB / 0.72 GB, free: 26.76 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.7169, allocations: 4 kB / 0.72 GB, free: 26.75 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.12e-06/0.7169, allocations: 0.6875 kB / 0.72 GB, free: 26.75 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001895/0.7171, allocations: 165.2 kB / 0.7202 GB, free: 26.56 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.7171, allocations: 4.656 kB / 0.7202 GB, free: 26.55 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.97e-05/0.7171, allocations: 5.969 kB / 0.7202 GB, free: 26.55 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.7172, allocations: 0 / 0.7202 GB, free: 26.55 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.7172, allocations: 3.781 kB / 0.7202 GB, free: 26.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7172, allocations: 1.969 kB / 0.7202 GB, free: 26.55 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.7172, allocations: 0.7031 kB / 0.7202 GB, free: 26.55 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001564/0.7174, allocations: 164.5 kB / 0.7204 GB, free: 26.39 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.416e-05/0.7174, allocations: 83.31 kB / 0.7204 GB, free: 26.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.532e-05/0.7174, allocations: 0.6094 kB / 0.7204 GB, free: 26.29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.866e-05/0.7175, allocations: 4.797 kB / 0.7204 GB, free: 26.29 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.468e-05/0.7175, allocations: 5.109 kB / 0.7204 GB, free: 26.28 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.7175, allocations: 4.609 kB / 0.7204 GB, free: 26.28 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 4.598e-05/0.7176, allocations: 93.67 kB / 0.7205 GB, free: 26.2 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7176, allocations: 0 / 0.7205 GB, free: 26.2 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0002239/0.7178, allocations: 16.55 kB / 0.7206 GB, free: 26.18 MB / 0.4948 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 (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.000176/0.718, allocations: 113.1 kB / 0.7207 GB, free: 26.06 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001387/0.7182, allocations: 35.23 kB / 0.7207 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.7182, allocations: 0 / 0.7207 GB, free: 26.03 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.57e-05/0.7182, allocations: 21.98 kB / 0.7207 GB, free: 26.02 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.7184, allocations: 0 / 0.7207 GB, free: 26.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.7188, allocations: 140.1 kB / 0.7208 GB, free: 25.88 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001576/0.719, allocations: 0.6865 MB / 0.7215 GB, free: 25.17 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 2.87e-05/0.719, allocations: 4.703 kB / 0.7215 GB, free: 25.16 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.883e-05/0.7191, allocations: 11.38 kB / 0.7215 GB, free: 25.16 MB / 0.4948 GB Notification: Performance of SimCode: time 2.3e-07/0.7191, allocations: 0 / 0.7215 GB, free: 25.16 MB / 0.4948 GB Notification: Performance of Templates: time 0.002656/0.7217, allocations: 437.2 kB / 0.7219 GB, free: 24.9 MB / 0.4948 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Splice.pipe 2>&1)