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.7381/0.7381, allocations: 127.3 MB / 139.8 MB, free: 15.49 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 180.8 kB / 169.7 MB, free: 1.758 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.727/1.727, allocations: 205.1 MB / 404.5 MB, free: 1.68 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.0009371/0.0009371, allocations: 86.47 kB / 481.8 MB, free: 4.324 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.68e-05/3.684e-05, allocations: 11.98 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1416, allocations: 76.76 MB / 0.6283 GB, free: 9.926 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5276/0.6693, allocations: 102.7 MB / 0.7286 GB, free: 10.68 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003083/0.6697, allocations: 84.39 kB / 0.7287 GB, free: 10.63 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003669/0.6733, allocations: 1.225 MB / 0.7299 GB, free: 9.531 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6734, allocations: 4 kB / 0.7299 GB, free: 9.527 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.912e-06/0.6734, allocations: 0 / 0.7299 GB, free: 9.527 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.0002683/0.6737, allocations: 333.8 kB / 0.7302 GB, free: 9.16 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.155e-05/0.6737, allocations: 8.031 kB / 0.7302 GB, free: 9.152 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.042e-05/0.6738, allocations: 34.56 kB / 0.7302 GB, free: 9.109 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.085e-05/0.6738, allocations: 3.953 kB / 0.7302 GB, free: 9.105 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.333e-05/0.6739, allocations: 163 kB / 0.7304 GB, free: 8.906 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.6739, allocations: 0 / 0.7304 GB, free: 8.906 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.206e-06/0.6739, allocations: 0 / 0.7304 GB, free: 8.906 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001007/0.674, allocations: 33.7 kB / 0.7304 GB, free: 8.867 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.674, allocations: 0 / 0.7304 GB, free: 8.867 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.165e-05/0.6741, allocations: 3.984 kB / 0.7304 GB, free: 8.863 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.6741, allocations: 0 / 0.7304 GB, free: 8.863 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.354e-05/0.6741, allocations: 3.953 kB / 0.7304 GB, free: 8.859 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001452/0.6743, allocations: 153 kB / 0.7306 GB, free: 8.664 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.754e-05/0.6743, allocations: 18.52 kB / 0.7306 GB, free: 8.637 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.817e-05/0.6743, allocations: 4.859 kB / 0.7306 GB, free: 8.629 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004793/0.6748, allocations: 0.5626 MB / 0.7311 GB, free: 7.941 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.6749, allocations: 34.56 kB / 0.7312 GB, free: 7.898 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.6749, allocations: 0 / 0.7312 GB, free: 7.898 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001188/0.675, allocations: 33.69 kB / 0.7312 GB, free: 7.859 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.184e-05/0.675, allocations: 51.41 kB / 0.7312 GB, free: 7.797 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.218e-05/0.6751, allocations: 91.33 kB / 0.7313 GB, free: 7.703 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.25e-05/0.6751, allocations: 28.64 kB / 0.7314 GB, free: 7.672 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.866e-05/0.6751, allocations: 82.86 kB / 0.7314 GB, free: 7.59 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.719e-05/0.6751, allocations: 0 / 0.7314 GB, free: 7.59 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.6752, allocations: 0 / 0.7314 GB, free: 7.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000106/0.6753, allocations: 322.7 kB / 0.7318 GB, free: 7.266 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.495e-06/0.6753, allocations: 0 / 0.7318 GB, free: 7.266 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.538e-06/0.6753, allocations: 0 / 0.7318 GB, free: 7.266 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.917e-05/0.6753, allocations: 8.062 kB / 0.7318 GB, free: 7.258 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.6753, allocations: 0 / 0.7318 GB, free: 7.258 MB / 490.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.045e-05/0.6754, allocations: 37.31 kB / 0.7318 GB, free: 7.219 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.6754, allocations: 4 kB / 0.7318 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.6754, allocations: 0 / 0.7318 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.6754, allocations: 4 kB / 0.7318 GB, free: 7.211 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.326e-05/0.6755, allocations: 3.938 kB / 0.7318 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.6755, allocations: 0 / 0.7318 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.011e-05/0.6755, allocations: 0 / 0.7318 GB, free: 7.207 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.6755, allocations: 0 / 0.7318 GB, free: 7.207 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 6.122e-05/0.6756, allocations: 113 kB / 0.7319 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.673e-06/0.6756, allocations: 0.7812 kB / 0.7319 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.6757, allocations: 40.75 kB / 0.732 GB, free: 7.047 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.6757, allocations: 3.938 kB / 0.732 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.359e-06/0.6757, allocations: 0 / 0.732 GB, free: 7.043 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.6757, allocations: 4 kB / 0.732 GB, free: 7.039 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.09e-05/0.6758, allocations: 149 kB / 0.7321 GB, free: 6.848 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6758, allocations: 7.109 kB / 0.7321 GB, free: 6.844 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.321e-05/0.6759, allocations: 4.031 kB / 0.7321 GB, free: 6.84 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.472e-06/0.6759, allocations: 0 / 0.7321 GB, free: 6.84 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.6759, allocations: 4 kB / 0.7321 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.6759, allocations: 0 / 0.7321 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.6759, allocations: 0.7031 kB / 0.7321 GB, free: 6.836 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.714e-05/0.676, allocations: 60.97 kB / 0.7322 GB, free: 6.762 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.714e-05/0.676, allocations: 89 kB / 0.7323 GB, free: 6.656 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.099e-05/0.676, allocations: 4.031 kB / 0.7323 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.145e-05/0.676, allocations: 0 / 0.7323 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.108e-05/0.6761, allocations: 0 / 0.7323 GB, free: 6.652 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-06/0.6761, allocations: 0 / 0.7323 GB, free: 6.652 MB / 490.7 MB Notification: Performance of sorting global known variables: time 2.696e-05/0.6761, allocations: 75.28 kB / 0.7323 GB, free: 6.578 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6761, allocations: 0 / 0.7323 GB, free: 6.578 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001914/0.6763, allocations: 15.94 kB / 0.7324 GB, free: 6.562 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.0003818/0.6767, allocations: 0.604 MB / 0.7329 GB, free: 5.934 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 5.86e-05/0.6768, allocations: 7.938 kB / 0.7329 GB, free: 5.926 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6768, allocations: 0 / 0.7329 GB, free: 5.926 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 9.538e-06/0.6768, allocations: 4 kB / 0.733 GB, free: 5.922 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.849e-05/0.6769, allocations: 0 / 0.733 GB, free: 5.922 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002542/0.6771, allocations: 78.55 kB / 0.733 GB, free: 5.812 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.6774, allocations: 0.6809 MB / 0.7337 GB, free: 5.105 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 2.225e-05/0.6774, allocations: 7.922 kB / 0.7337 GB, free: 5.098 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.547e-05/0.6774, allocations: 7.438 kB / 0.7337 GB, free: 5.09 MB / 490.7 MB Notification: Performance of SimCode: time 6.41e-07/0.6774, allocations: 4 kB / 0.7337 GB, free: 5.086 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01264/0.6901, allocations: 0.8403 MB / 0.7345 GB, free: 4.379 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002209/0.6904, allocations: 170.8 kB / 0.7347 GB, free: 4.152 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.434/2.125, allocations: 2.531 kB / 0.7347 GB, free: 4.152 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)