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.5.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.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7163/0.7163, allocations: 127.4 MB / 134.9 MB, free: 3.711 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.001468/0.001468, allocations: 169 kB / 164.6 MB, free: 6.539 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.785/1.785, allocations: 205.2 MB / 399.5 MB, free: 5.871 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.001143/0.001143, allocations: 90.61 kB / 476.7 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.221e-05/2.223e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1855, allocations: 76.77 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5554/0.741, allocations: 103.6 MB / 0.7228 GB, free: 11.82 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.7413, allocations: 74.95 kB / 0.7228 GB, free: 11.79 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005781/0.7471, allocations: 1.825 MB / 0.7246 GB, free: 10.21 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.793e-06/0.7471, allocations: 3.938 kB / 0.7246 GB, free: 10.21 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.7472, allocations: 0 / 0.7246 GB, free: 10.21 MB / 490.7 MB 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.000373/0.7475, allocations: 365 kB / 0.725 GB, free: 9.809 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.7476, allocations: 12.02 kB / 0.725 GB, free: 9.797 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.7476, allocations: 12.64 kB / 0.725 GB, free: 9.785 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001677/0.7478, allocations: 171 kB / 0.7252 GB, free: 9.578 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.7478, allocations: 0 / 0.7252 GB, free: 9.578 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.558e-05/0.7479, allocations: 4 kB / 0.7252 GB, free: 9.574 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.731e-05/0.748, allocations: 15.25 kB / 0.7252 GB, free: 9.566 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.7481, allocations: 40.88 kB / 0.7252 GB, free: 9.523 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.7481, allocations: 0 / 0.7252 GB, free: 9.523 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.7481, allocations: 4 kB / 0.7252 GB, free: 9.52 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.7481, allocations: 7.953 kB / 0.7252 GB, free: 9.512 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004345/0.7486, allocations: 250.1 kB / 0.7255 GB, free: 9.242 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.145e-05/0.7486, allocations: 21.95 kB / 0.7255 GB, free: 9.215 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.152e-05/0.7487, allocations: 12.3 kB / 0.7255 GB, free: 9.203 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005248/0.7492, allocations: 0.5583 MB / 0.726 GB, free: 8.516 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.7493, allocations: 36.56 kB / 0.7261 GB, free: 8.477 MB / 490.7 MB Notification: Performance of pre-optimization done (n=2): time 3.216e-06/0.7493, allocations: 3.984 kB / 0.7261 GB, free: 8.473 MB / 490.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002266/0.7495, allocations: 52.52 kB / 0.7261 GB, free: 8.418 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.496e-05/0.7496, allocations: 51.41 kB / 0.7262 GB, free: 8.355 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.387e-05/0.7496, allocations: 103.3 kB / 0.7263 GB, free: 8.254 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.7497, allocations: 29.7 kB / 0.7263 GB, free: 8.219 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.7497, allocations: 95.48 kB / 0.7264 GB, free: 8.125 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.696e-05/0.7498, allocations: 3.906 kB / 0.7264 GB, free: 8.121 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.7498, allocations: 0 / 0.7264 GB, free: 8.121 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001109/0.7499, allocations: 318 kB / 0.7267 GB, free: 7.805 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.456e-05/0.7499, allocations: 4 kB / 0.7267 GB, free: 7.801 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.275e-05/0.7499, allocations: 7.625 kB / 0.7267 GB, free: 7.797 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.677e-05/0.75, allocations: 4 kB / 0.7267 GB, free: 7.793 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.75, allocations: 4.062 kB / 0.7267 GB, free: 7.789 MB / 490.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 8.836e-05/0.7501, allocations: 52 kB / 0.7268 GB, free: 7.738 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.556e-05/0.7501, allocations: 4 kB / 0.7268 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.7501, allocations: 0 / 0.7268 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.7501, allocations: 0 / 0.7268 GB, free: 7.734 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.324e-05/0.7502, allocations: 11.95 kB / 0.7268 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.7502, allocations: 0 / 0.7268 GB, free: 7.723 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.469e-05/0.7503, allocations: 8.641 kB / 0.7268 GB, free: 7.715 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.7503, allocations: 0 / 0.7268 GB, free: 7.715 MB / 490.7 MB 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 9.278e-05/0.7504, allocations: 105 kB / 0.7269 GB, free: 7.605 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.725e-05/0.7505, allocations: 48.97 kB / 0.7269 GB, free: 7.555 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.7505, allocations: 4 kB / 0.7269 GB, free: 7.551 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001373/0.7507, allocations: 63.86 kB / 0.727 GB, free: 7.492 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.7507, allocations: 3.938 kB / 0.727 GB, free: 7.488 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.7507, allocations: 3 kB / 0.727 GB, free: 7.488 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.7507, allocations: 0 / 0.727 GB, free: 7.488 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001363/0.7508, allocations: 141.7 kB / 0.7272 GB, free: 7.316 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.7508, allocations: 4.062 kB / 0.7272 GB, free: 7.312 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.7509, allocations: 4 kB / 0.7272 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.7509, allocations: 0 / 0.7272 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.7509, allocations: 0 / 0.7272 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.7509, allocations: 4 kB / 0.7272 GB, free: 7.305 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.7509, allocations: 3.953 kB / 0.7272 GB, free: 7.301 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001406/0.7511, allocations: 142.4 kB / 0.7273 GB, free: 7.152 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.46e-05/0.7511, allocations: 85.12 kB / 0.7274 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.7512, allocations: 0 / 0.7274 GB, free: 7.051 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.098e-05/0.7512, allocations: 4 kB / 0.7274 GB, free: 7.047 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.775e-05/0.7513, allocations: 7.891 kB / 0.7274 GB, free: 7.039 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-06/0.7513, allocations: 4 kB / 0.7274 GB, free: 7.035 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.078e-05/0.7513, allocations: 87.17 kB / 0.7275 GB, free: 6.953 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.7513, allocations: 0 / 0.7275 GB, free: 6.953 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002393/0.7516, allocations: 15.94 kB / 0.7275 GB, free: 6.938 MB / 490.7 MB 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.000464/0.752, allocations: 0.6878 MB / 0.7282 GB, free: 6.227 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 8.512e-05/0.7521, allocations: 14.31 kB / 0.7282 GB, free: 6.219 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.7521, allocations: 0 / 0.7282 GB, free: 6.219 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 2.441e-05/0.7522, allocations: 11.92 kB / 0.7282 GB, free: 6.207 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.7523, allocations: 3.812 kB / 0.7282 GB, free: 6.207 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003789/0.7527, allocations: 110.5 kB / 0.7283 GB, free: 6.066 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.753, allocations: 0.6846 MB / 0.729 GB, free: 5.355 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.786e-05/0.7531, allocations: 0.5469 kB / 0.729 GB, free: 5.355 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.69e-05/0.7531, allocations: 18.75 kB / 0.729 GB, free: 5.34 MB / 490.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7531, allocations: 0 / 0.729 GB, free: 5.34 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01914/0.7723, allocations: 0.8378 MB / 0.7298 GB, free: 4.516 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001968/0.7725, allocations: 139.4 kB / 0.7299 GB, free: 4.32 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.444/2.217, allocations: 0 / 0.7299 GB, free: 4.32 MB / 490.7 MB (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/linux/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)