Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.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.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",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.6917/0.6917, allocations: 127.4 MB / 134.9 MB, free: 3.727 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.001067/0.001067, allocations: 168.9 kB / 164.6 MB, free: 6.527 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.376/1.376, allocations: 205.2 MB / 399.5 MB, free: 5.93 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.0009229/0.000923, allocations: 88.53 kB / 476.7 MB, free: 8.664 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.279e-05/2.28e-05, allocations: 8 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1175, allocations: 76.77 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4317/0.5492, allocations: 102.6 MB / 0.7218 GB, free: 12.79 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002414/0.5495, allocations: 78.27 kB / 0.7219 GB, free: 12.74 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005385/0.5549, allocations: 1.903 MB / 0.7237 GB, free: 11.12 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.292e-06/0.555, allocations: 0 / 0.7237 GB, free: 11.12 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.555, allocations: 0 / 0.7237 GB, free: 11.12 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002823/0.5553, allocations: 348.8 kB / 0.7241 GB, free: 10.75 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.5553, allocations: 8.031 kB / 0.7241 GB, free: 10.74 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.322e-05/0.5553, allocations: 7.953 kB / 0.7241 GB, free: 10.73 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.818e-05/0.5554, allocations: 167 kB / 0.7242 GB, free: 10.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.5555, allocations: 4 kB / 0.7242 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.034e-05/0.5555, allocations: 4 kB / 0.7243 GB, free: 10.52 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.372e-05/0.5556, allocations: 11.5 kB / 0.7243 GB, free: 10.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.053e-05/0.5556, allocations: 41.44 kB / 0.7243 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.5556, allocations: 0 / 0.7243 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.5557, allocations: 3.75 kB / 0.7243 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.366e-06/0.5557, allocations: 0 / 0.7243 GB, free: 10.47 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.5558, allocations: 142.7 kB / 0.7244 GB, free: 10.3 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.86e-05/0.5559, allocations: 45.89 kB / 0.7245 GB, free: 10.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.931e-05/0.5559, allocations: 20.17 kB / 0.7245 GB, free: 10.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003874/0.5563, allocations: 0.5505 MB / 0.725 GB, free: 9.555 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.5564, allocations: 34.56 kB / 0.7251 GB, free: 9.512 MB / 490.7 MB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.5564, allocations: 0 / 0.7251 GB, free: 9.512 MB / 490.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007664/0.5571, allocations: 348.3 kB / 0.7254 GB, free: 9.148 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.5572, allocations: 51.41 kB / 0.7255 GB, free: 9.086 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.545e-05/0.5572, allocations: 88.69 kB / 0.7255 GB, free: 8.996 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.5573, allocations: 25.7 kB / 0.7256 GB, free: 8.965 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.377e-05/0.5573, allocations: 80.14 kB / 0.7256 GB, free: 8.883 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.5573, allocations: 27.27 kB / 0.7257 GB, free: 8.859 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.049e-06/0.5573, allocations: 0 / 0.7257 GB, free: 8.859 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.226e-05/0.5574, allocations: 322.9 kB / 0.726 GB, free: 8.535 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.73e-05/0.5575, allocations: 19.31 kB / 0.726 GB, free: 8.523 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.544e-05/0.5575, allocations: 23.19 kB / 0.726 GB, free: 8.508 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.453e-05/0.5576, allocations: 23.61 kB / 0.726 GB, free: 8.488 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.5576, allocations: 0 / 0.726 GB, free: 8.488 MB / 490.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001328/0.5577, allocations: 79.84 kB / 0.7261 GB, free: 8.418 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.5577, allocations: 7.984 kB / 0.7261 GB, free: 8.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.5577, allocations: 0 / 0.7261 GB, free: 8.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.999e-06/0.5578, allocations: 0 / 0.7261 GB, free: 8.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.775e-05/0.5579, allocations: 15.94 kB / 0.7261 GB, free: 8.395 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.5579, allocations: 8 kB / 0.7261 GB, free: 8.387 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.282e-05/0.5579, allocations: 0 / 0.7261 GB, free: 8.387 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.5579, allocations: 0 / 0.7261 GB, free: 8.387 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 (9): * Single equations (assignments): 9 * 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.513e-05/0.558, allocations: 108.9 kB / 0.7262 GB, free: 8.273 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001248/0.5581, allocations: 76.3 kB / 0.7263 GB, free: 8.207 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.196e-05/0.5581, allocations: 7.906 kB / 0.7263 GB, free: 8.199 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002091/0.5584, allocations: 97.67 kB / 0.7264 GB, free: 8.117 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5584, allocations: 0 / 0.7264 GB, free: 8.117 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.5584, allocations: 0 / 0.7264 GB, free: 8.117 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.5584, allocations: 0 / 0.7264 GB, free: 8.117 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001043/0.5585, allocations: 149.3 kB / 0.7266 GB, free: 7.941 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5585, allocations: 0 / 0.7266 GB, free: 7.941 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.5587, allocations: 19.55 kB / 0.7266 GB, free: 7.926 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.5587, allocations: 4.281 kB / 0.7266 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.666e-06/0.5587, allocations: 0 / 0.7266 GB, free: 7.922 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.5587, allocations: 4 kB / 0.7266 GB, free: 7.918 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.5587, allocations: 4.812 kB / 0.7266 GB, free: 7.914 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.5589, allocations: 127.2 kB / 0.7267 GB, free: 7.793 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.125e-05/0.559, allocations: 85.05 kB / 0.7268 GB, free: 7.691 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.559, allocations: 0 / 0.7268 GB, free: 7.691 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.083e-05/0.559, allocations: 0 / 0.7268 GB, free: 7.691 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.978e-05/0.5591, allocations: 15.59 kB / 0.7268 GB, free: 7.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.5591, allocations: 4.062 kB / 0.7268 GB, free: 7.676 MB / 490.7 MB Notification: Performance of sorting global known variables: time 3.341e-05/0.5591, allocations: 79.28 kB / 0.7269 GB, free: 7.598 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.663e-06/0.5591, allocations: 0 / 0.7269 GB, free: 7.598 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0002109/0.5593, allocations: 35.88 kB / 0.7269 GB, free: 7.562 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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.000521/0.5599, allocations: 0.6988 MB / 0.7276 GB, free: 6.855 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001059/0.56, allocations: 50.47 kB / 0.7277 GB, free: 6.82 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.56, allocations: 0 / 0.7277 GB, free: 6.82 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.788e-05/0.56, allocations: 31.17 kB / 0.7277 GB, free: 6.797 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.5602, allocations: 4 kB / 0.7277 GB, free: 6.793 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004257/0.5606, allocations: 142 kB / 0.7278 GB, free: 6.629 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002242/0.5608, allocations: 0.6885 MB / 0.7285 GB, free: 5.914 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 7.475e-05/0.5609, allocations: 12.19 kB / 0.7285 GB, free: 5.898 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.792e-05/0.5609, allocations: 15.12 kB / 0.7285 GB, free: 5.887 MB / 490.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5609, allocations: 0 / 0.7285 GB, free: 5.887 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01814/0.5791, allocations: 1.194 MB / 0.7297 GB, free: 4.699 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.5793, allocations: 179.6 kB / 0.7299 GB, free: 4.504 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.389/1.968, allocations: 6.75 kB / 0.7299 GB, free: 4.5 MB / 490.7 MB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)