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.7358/0.7358, allocations: 128.7 MB / 143.7 MB, free: 2.355 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.001085/0.001085, allocations: 180.4 kB / 173.7 MB, free: 6.141 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.744/1.744, allocations: 205.4 MB / 409 MB, free: 10.5 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.00089/0.0008899, allocations: 86.69 kB / 486.5 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003809/0.0003809, allocations: 14.06 kB / 0.5604 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1695/0.1699, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.157/0.327, allocations: 102.8 MB / 0.7358 GB, free: 7.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002748/0.3273, allocations: 75.95 kB / 0.7359 GB, free: 7.426 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.003975/0.3313, allocations: 1.242 MB / 0.7371 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3314, allocations: 0 / 0.7371 GB, free: 6.18 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.345e-06/0.3314, allocations: 4 kB / 0.7371 GB, free: 6.176 MB / 0.5105 GB 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.0003374/0.3317, allocations: 327.4 kB / 0.7374 GB, free: 5.809 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.3318, allocations: 16.03 kB / 0.7374 GB, free: 5.793 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.8e-05/0.3319, allocations: 34.55 kB / 0.7375 GB, free: 5.75 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.771e-05/0.3319, allocations: 7.953 kB / 0.7375 GB, free: 5.742 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001153/0.332, allocations: 163 kB / 0.7376 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.051e-05/0.332, allocations: 0 / 0.7376 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.607e-06/0.3321, allocations: 0 / 0.7376 GB, free: 5.543 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001024/0.3322, allocations: 33.64 kB / 0.7377 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.184e-06/0.3322, allocations: 0 / 0.7377 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.792e-06/0.3322, allocations: 0 / 0.7377 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3322, allocations: 4 kB / 0.7377 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.531e-05/0.3322, allocations: 3.953 kB / 0.7377 GB, free: 5.496 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001643/0.3324, allocations: 149.7 kB / 0.7378 GB, free: 5.301 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 4.474e-05/0.3325, allocations: 22.56 kB / 0.7378 GB, free: 5.27 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005696/0.333, allocations: 0.5545 MB / 0.7384 GB, free: 4.586 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.959e-05/0.3331, allocations: 42.44 kB / 0.7384 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.193e-06/0.3331, allocations: 4 kB / 0.7384 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.000167/0.3333, allocations: 37.69 kB / 0.7385 GB, free: 4.488 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.966e-05/0.3333, allocations: 51.41 kB / 0.7385 GB, free: 4.426 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.715e-05/0.3334, allocations: 85 kB / 0.7386 GB, free: 4.336 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.741e-05/0.3334, allocations: 25.7 kB / 0.7386 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.717e-05/0.3334, allocations: 80.14 kB / 0.7387 GB, free: 4.223 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.3335, allocations: 3.906 kB / 0.7387 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.364e-06/0.3335, allocations: 128 / 0.7387 GB, free: 4.219 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3336, allocations: 322.8 kB / 0.739 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.067e-06/0.3336, allocations: 0 / 0.739 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.941e-06/0.3336, allocations: 0 / 0.739 GB, free: 3.895 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.052e-05/0.3337, allocations: 4 kB / 0.739 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3337, allocations: 0 / 0.739 GB, free: 3.891 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.503e-05/0.3337, allocations: 45.56 kB / 0.739 GB, free: 3.84 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.63e-05/0.3338, allocations: 4 kB / 0.739 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3338, allocations: 0 / 0.739 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.3338, allocations: 4.094 kB / 0.7391 GB, free: 3.832 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.592e-05/0.3338, allocations: 4 kB / 0.7391 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.3339, allocations: 0 / 0.7391 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.3339, allocations: 2.062 kB / 0.7391 GB, free: 3.828 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.3339, allocations: 0 / 0.7391 GB, free: 3.828 MB / 0.5105 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 (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 9.144e-05/0.334, allocations: 113.8 kB / 0.7392 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.656e-06/0.334, allocations: 0 / 0.7392 GB, free: 3.707 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000104/0.3341, allocations: 48.75 kB / 0.7392 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.3341, allocations: 0 / 0.7392 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3341, allocations: 0 / 0.7392 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3341, allocations: 0 / 0.7392 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.3343, allocations: 153.6 kB / 0.7394 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.3343, allocations: 0 / 0.7394 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.607e-05/0.3343, allocations: 0 / 0.7394 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3343, allocations: 0 / 0.7394 GB, free: 3.453 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.3343, allocations: 4 kB / 0.7394 GB, free: 3.449 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.3343, allocations: 4 kB / 0.7394 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3343, allocations: 0 / 0.7394 GB, free: 3.445 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.131e-05/0.3344, allocations: 61.12 kB / 0.7394 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.276e-05/0.3345, allocations: 89.03 kB / 0.7395 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.042e-05/0.3345, allocations: 0 / 0.7395 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.148e-05/0.3345, allocations: 0 / 0.7395 GB, free: 3.262 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.3345, allocations: 3.938 kB / 0.7395 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.3345, allocations: 0 / 0.7395 GB, free: 3.258 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.087e-05/0.3346, allocations: 75.28 kB / 0.7396 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3346, allocations: 4.031 kB / 0.7396 GB, free: 3.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002154/0.3348, allocations: 12 kB / 0.7396 GB, free: 3.168 MB / 0.5105 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 (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.000487/0.3353, allocations: 0.6005 MB / 0.7402 GB, free: 2.535 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 6.59e-05/0.3354, allocations: 4 kB / 0.7402 GB, free: 2.531 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.3354, allocations: 4.094 kB / 0.7402 GB, free: 2.527 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 6.532e-06/0.3354, allocations: 3.938 kB / 0.7402 GB, free: 2.523 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.576e-05/0.3355, allocations: 7.984 kB / 0.7402 GB, free: 2.516 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002971/0.3358, allocations: 108.4 kB / 0.7403 GB, free: 2.367 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.3361, allocations: 0.677 MB / 0.741 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 2.346e-05/0.3361, allocations: 0 / 0.741 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.007e-05/0.3361, allocations: 15.5 kB / 0.741 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of SimCode: time 2.01e-07/0.3361, allocations: 3.938 kB / 0.741 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01272/0.3489, allocations: 0.8277 MB / 0.7418 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002077/0.3491, allocations: 195.5 kB / 0.742 GB, free: 0.7344 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/1.811, allocations: 0 / 0.742 GB, free: 0.7344 MB / 0.5105 GB (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)