Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.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.Functions.Examples.SpliceFunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction",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.6817/0.6817, allocations: 127.4 MB / 134.9 MB, free: 3.766 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.001003/0.001003, allocations: 180.9 kB / 164.7 MB, free: 6.52 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.286/1.286, allocations: 205.2 MB / 399.5 MB, free: 5.953 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.0007748/0.0007749, allocations: 86.41 kB / 476.7 MB, free: 8.68 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.047e-05/2.049e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1348/0.1348, allocations: 76.76 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4707/0.6056, allocations: 102.4 MB / 0.7216 GB, free: 13.06 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002257/0.6059, allocations: 82.31 kB / 0.7217 GB, free: 13.02 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003525/0.6094, allocations: 1.22 MB / 0.7229 GB, free: 11.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.6094, allocations: 0 / 0.7229 GB, free: 11.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.6094, allocations: 4 kB / 0.7229 GB, free: 11.93 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002752/0.6097, allocations: 330.2 kB / 0.7232 GB, free: 11.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.6098, allocations: 12.03 kB / 0.7232 GB, free: 11.56 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.6098, allocations: 3.953 kB / 0.7232 GB, free: 11.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001057/0.6099, allocations: 163.1 kB / 0.7234 GB, free: 11.36 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.6099, allocations: 4 kB / 0.7234 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.61, allocations: 0 / 0.7234 GB, free: 11.35 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.281e-05/0.61, allocations: 7.938 kB / 0.7234 GB, free: 11.34 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.975e-05/0.6101, allocations: 25.7 kB / 0.7234 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.6101, allocations: 0.625 kB / 0.7234 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.6101, allocations: 0.9375 kB / 0.7234 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.6101, allocations: 0 / 0.7234 GB, free: 11.31 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001492/0.6103, allocations: 134.2 kB / 0.7235 GB, free: 11.14 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.767e-05/0.6103, allocations: 22.14 kB / 0.7235 GB, free: 11.12 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.598e-05/0.6103, allocations: 4.859 kB / 0.7235 GB, free: 11.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004952/0.6108, allocations: 0.5545 MB / 0.7241 GB, free: 10.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.6109, allocations: 32.86 kB / 0.7241 GB, free: 10.39 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.302e-06/0.6109, allocations: 7.938 kB / 0.7241 GB, free: 10.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001572/0.6111, allocations: 33.58 kB / 0.7242 GB, free: 10.34 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.6111, allocations: 59.42 kB / 0.7242 GB, free: 10.27 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.887e-05/0.6111, allocations: 88.94 kB / 0.7243 GB, free: 10.18 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.6112, allocations: 25.7 kB / 0.7243 GB, free: 10.15 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.147e-05/0.6112, allocations: 80.14 kB / 0.7244 GB, free: 10.07 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.946e-05/0.6113, allocations: 0 / 0.7244 GB, free: 10.07 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/0.6113, allocations: 0 / 0.7244 GB, free: 10.07 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001348/0.6114, allocations: 314.8 kB / 0.7247 GB, free: 9.75 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.6114, allocations: 0 / 0.7247 GB, free: 9.75 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.889e-06/0.6114, allocations: 4 kB / 0.7247 GB, free: 9.746 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.356e-05/0.6115, allocations: 10.61 kB / 0.7247 GB, free: 9.738 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.6115, allocations: 0 / 0.7247 GB, free: 9.738 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.855e-05/0.6116, allocations: 43.98 kB / 0.7248 GB, free: 9.691 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.6116, allocations: 4 kB / 0.7248 GB, free: 9.688 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.6116, allocations: 4 kB / 0.7248 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.6116, allocations: 0 / 0.7248 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.187e-05/0.6116, allocations: 0 / 0.7248 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.6117, allocations: 1.172 kB / 0.7248 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.3e-05/0.6117, allocations: 96 / 0.7248 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.6117, allocations: 8.547 kB / 0.7248 GB, free: 9.676 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 (1): * Single equations (assignments): 1 * 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.603e-05/0.6118, allocations: 112.9 kB / 0.7249 GB, free: 9.562 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.483e-05/0.6118, allocations: 34.47 kB / 0.7249 GB, free: 9.523 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-06/0.6119, allocations: 0 / 0.7249 GB, free: 9.523 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.796e-05/0.612, allocations: 41.39 kB / 0.725 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.612, allocations: 3.828 kB / 0.725 GB, free: 9.48 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.612, allocations: 8.047 kB / 0.725 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.612, allocations: 0 / 0.725 GB, free: 9.473 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.231e-05/0.6121, allocations: 130.2 kB / 0.7251 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.6121, allocations: 0 / 0.7251 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.261e-05/0.6121, allocations: 0 / 0.7251 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.6121, allocations: 0 / 0.7251 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.6121, allocations: 0 / 0.7251 GB, free: 9.309 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.6121, allocations: 4.75 kB / 0.7251 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.6121, allocations: 0 / 0.7251 GB, free: 9.305 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.256e-05/0.6122, allocations: 68.86 kB / 0.7252 GB, free: 9.223 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.6123, allocations: 77.11 kB / 0.7252 GB, free: 9.129 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.6123, allocations: 4 kB / 0.7252 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.596e-06/0.6123, allocations: 0 / 0.7252 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.6123, allocations: 0 / 0.7252 GB, free: 9.125 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.6123, allocations: 4 kB / 0.7252 GB, free: 9.121 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.72e-05/0.6124, allocations: 79.22 kB / 0.7253 GB, free: 9.043 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6124, allocations: 0 / 0.7253 GB, free: 9.043 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001902/0.6126, allocations: 19.92 kB / 0.7253 GB, free: 9.023 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 (1): * Single equations (assignments): 1 * 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.0004146/0.613, allocations: 0.6003 MB / 0.7259 GB, free: 8.395 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.975e-05/0.6131, allocations: 7.938 kB / 0.7259 GB, free: 8.387 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.6131, allocations: 0 / 0.7259 GB, free: 8.387 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 6.852e-06/0.6131, allocations: 0 / 0.7259 GB, free: 8.387 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.033e-05/0.6132, allocations: 13.12 kB / 0.7259 GB, free: 8.375 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002469/0.6134, allocations: 77.59 kB / 0.726 GB, free: 8.266 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.6137, allocations: 0.6729 MB / 0.7267 GB, free: 7.566 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.256e-05/0.6137, allocations: 3.984 kB / 0.7267 GB, free: 7.562 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.669e-05/0.6138, allocations: 11.38 kB / 0.7267 GB, free: 7.551 MB / 490.7 MB Notification: Performance of SimCode: time 2.41e-07/0.6138, allocations: 0 / 0.7267 GB, free: 7.551 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.6324, allocations: 0.5253 MB / 0.7272 GB, free: 7.027 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.6327, allocations: 163.1 kB / 0.7274 GB, free: 6.828 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.558/2.191, allocations: 0 / 0.7274 GB, free: 6.828 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunction.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunction.pipe 2>&1)