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: translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") translateModel(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.8857/0.8857, allocations: 128.8 MB / 143.7 MB, free: 2.332 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.001698/0.001698, allocations: 172.4 kB / 173.8 MB, free: 6.133 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.832/1.832, 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.0009729/0.0009728, allocations: 102.7 kB / 486.6 MB, free: 13.01 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003536/0.000354, allocations: 10.19 kB / 0.5604 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1517, allocations: 76.78 MB / 0.6353 GB, free: 30.57 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1702/0.322, allocations: 103 MB / 0.7359 GB, free: 7.441 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.3223, allocations: 87.94 kB / 0.736 GB, free: 7.355 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.005694/0.328, allocations: 1.916 MB / 0.7379 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.146e-06/0.328, allocations: 0 / 0.7379 GB, free: 5.434 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.408e-06/0.328, allocations: 4 kB / 0.7379 GB, free: 5.43 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003714/0.3284, allocations: 351.3 kB / 0.7382 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3285, allocations: 8.031 kB / 0.7382 GB, free: 5.031 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.175e-05/0.3285, allocations: 11.89 kB / 0.7382 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001225/0.3287, allocations: 167 kB / 0.7384 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.357e-05/0.3287, allocations: 0 / 0.7384 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.341e-05/0.3287, allocations: 8 kB / 0.7384 GB, free: 4.809 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.3288, allocations: 45.62 kB / 0.7384 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.3288, allocations: 0 / 0.7384 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.3289, allocations: 0 / 0.7384 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.3289, allocations: 0 / 0.7384 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.775e-05/0.3289, allocations: 15.98 kB / 0.7385 GB, free: 4.742 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001761/0.3291, allocations: 161.6 kB / 0.7386 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 8.574e-05/0.3292, allocations: 42.62 kB / 0.7386 GB, free: 4.484 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004439/0.3296, allocations: 0.5585 MB / 0.7392 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.3297, allocations: 36.62 kB / 0.7392 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.3297, allocations: 0 / 0.7392 GB, free: 3.754 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8): time 0.001721/0.3314, allocations: 462.4 kB / 0.7397 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.3315, allocations: 55.34 kB / 0.7397 GB, free: 3.184 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.999e-05/0.3315, allocations: 93 kB / 0.7398 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3316, allocations: 25.7 kB / 0.7398 GB, free: 3.055 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 3.941e-05/0.3316, allocations: 80.14 kB / 0.7399 GB, free: 2.973 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.41e-05/0.3317, allocations: 27.61 kB / 0.7399 GB, free: 2.945 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.184e-06/0.3317, allocations: 4 kB / 0.7399 GB, free: 2.941 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001312/0.3318, allocations: 314.8 kB / 0.7402 GB, free: 2.625 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.094e-05/0.3319, allocations: 23.98 kB / 0.7403 GB, free: 2.602 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.091e-05/0.3319, allocations: 15.94 kB / 0.7403 GB, free: 2.586 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.065e-05/0.3319, allocations: 24.12 kB / 0.7403 GB, free: 2.562 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.332, allocations: 4 kB / 0.7403 GB, free: 2.559 MB / 0.5105 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001262/0.3321, allocations: 85.61 kB / 0.7404 GB, free: 2.469 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3321, allocations: 4 kB / 0.7404 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.3321, allocations: 80 / 0.7404 GB, free: 2.465 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.3321, allocations: 4 kB / 0.7404 GB, free: 2.461 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.3323, allocations: 12 kB / 0.7404 GB, free: 2.449 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.3323, allocations: 3.984 kB / 0.7404 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.503e-05/0.3323, allocations: 0 / 0.7404 GB, free: 2.445 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.3323, allocations: 8 kB / 0.7404 GB, free: 2.438 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 (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 7.664e-05/0.3324, allocations: 113.8 kB / 0.7405 GB, free: 2.316 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.575e-05/0.3324, allocations: 11.89 kB / 0.7405 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002082/0.3326, allocations: 101.8 kB / 0.7406 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3327, allocations: 0 / 0.7406 GB, free: 2.195 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3327, allocations: 7.938 kB / 0.7406 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.3327, allocations: 0 / 0.7406 GB, free: 2.188 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.3328, allocations: 177.6 kB / 0.7408 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3328, allocations: 4 kB / 0.7408 GB, free: 1.961 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.867e-05/0.3329, allocations: 12 kB / 0.7408 GB, free: 1.949 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.3329, allocations: 3.984 kB / 0.7408 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.946e-06/0.3329, allocations: 0 / 0.7408 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.333, allocations: 0 / 0.7408 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.333, allocations: 0 / 0.7408 GB, free: 1.945 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002092/0.3332, allocations: 149 kB / 0.741 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.371e-05/0.3332, allocations: 81.02 kB / 0.741 GB, free: 1.684 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.3332, allocations: 4 kB / 0.7411 GB, free: 1.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.465e-05/0.3333, allocations: 4.062 kB / 0.7411 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.3333, allocations: 7.984 kB / 0.7411 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.914e-06/0.3333, allocations: 4 kB / 0.7411 GB, free: 1.664 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 3.643e-05/0.3334, allocations: 75.28 kB / 0.7411 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3334, allocations: 0 / 0.7411 GB, free: 1.59 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002037/0.3336, allocations: 28.16 kB / 0.7412 GB, free: 1.562 MB / 0.5105 GB 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 () * Number of clocked 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.0002046/0.3338, allocations: 142.9 kB / 0.7413 GB, free: 1.414 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.3339, allocations: 51.92 kB / 0.7414 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.334, allocations: 0 / 0.7414 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 4.498e-05/0.334, allocations: 31.98 kB / 0.7414 GB, free: 1.332 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.955e-05/0.3341, allocations: 3.953 kB / 0.7414 GB, free: 1.328 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003693/0.3345, allocations: 164.8 kB / 0.7415 GB, free: 1.141 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.3347, allocations: 0.6809 MB / 0.7422 GB, free: 444 kB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.92e-05/0.3348, allocations: 12.17 kB / 0.7422 GB, free: 428 kB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.3348, allocations: 11.44 kB / 0.7422 GB, free: 416 kB / 0.5105 GB Notification: Performance of SimCode: time 2.21e-07/0.3349, allocations: 4 kB / 0.7422 GB, free: 412 kB / 0.5105 GB Notification: Performance of Templates: time 0.2579/0.5928, allocations: 0.7325 MB / 0.743 GB, free: 109.3 MB / 0.5105 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.makefile (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 & ./BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)