Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002218/0.002217, allocations: 182 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5447/0.5447, allocations: 91.97 MB / 108.5 MB, free: 13.04 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.706/1.706, allocations: 223.2 MB / 354.3 MB, free: 12.2 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001007/0.001007, allocations: 99.2 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004408/0.0004408, allocations: 16 kB / 0.4983 GB, free: 42.19 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1804, allocations: 72.3 MB / 0.5689 GB, free: 1.824 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4564/0.6369, allocations: 102.1 MB / 0.6686 GB, free: 2.309 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002638/0.6372, allocations: 79.95 kB / 0.6687 GB, free: 2.23 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.00759/0.6448, allocations: 2.427 MB / 0.6711 GB, free: 15.82 MB / 474.7 MB Notification: Performance of FrontEnd: time 8.215e-06/0.6449, allocations: 0 / 0.6711 GB, free: 15.82 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.384e-06/0.6449, allocations: 3.938 kB / 0.6711 GB, free: 15.82 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003567/0.6453, allocations: 359.9 kB / 0.6714 GB, free: 15.42 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.6453, allocations: 8.031 kB / 0.6714 GB, free: 15.41 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.6454, allocations: 38.56 kB / 0.6715 GB, free: 15.36 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.6454, allocations: 7.953 kB / 0.6715 GB, free: 15.36 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.6455, allocations: 163 kB / 0.6716 GB, free: 15.16 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.6456, allocations: 4 kB / 0.6716 GB, free: 15.15 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.6456, allocations: 4 kB / 0.6716 GB, free: 15.15 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.6457, allocations: 53.36 kB / 0.6717 GB, free: 15.09 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.6457, allocations: 4 kB / 0.6717 GB, free: 15.09 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.6458, allocations: 0 / 0.6717 GB, free: 15.09 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.6458, allocations: 3.953 kB / 0.6717 GB, free: 15.09 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.879e-05/0.6458, allocations: 31.91 kB / 0.6717 GB, free: 15.05 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001868/0.646, allocations: 165.6 kB / 0.6719 GB, free: 14.84 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001265/0.6462, allocations: 66.53 kB / 0.672 GB, free: 14.77 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004649/0.6466, allocations: 0.5583 MB / 0.6725 GB, free: 14.08 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.956e-05/0.6467, allocations: 34.56 kB / 0.6725 GB, free: 14.04 MB / 474.7 MB Notification: Performance of pre-optimization done (n=8): time 1.142e-06/0.6467, allocations: 0 / 0.6725 GB, free: 14.04 MB / 474.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: x 2: deltax Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=17): time 0.01984/0.6665, allocations: 4.259 MB / 0.6767 GB, free: 9.629 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.6666, allocations: 55.41 kB / 0.6767 GB, free: 9.562 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.793e-05/0.6667, allocations: 92.94 kB / 0.6768 GB, free: 9.465 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.369e-05/0.6668, allocations: 25.7 kB / 0.6769 GB, free: 9.434 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.292e-05/0.6668, allocations: 80.14 kB / 0.6769 GB, free: 9.352 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001059/0.6669, allocations: 59.11 kB / 0.677 GB, free: 9.293 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.899e-05/0.667, allocations: 4 kB / 0.677 GB, free: 9.289 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.6671, allocations: 327 kB / 0.6773 GB, free: 8.961 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004918/0.6676, allocations: 303.9 kB / 0.6776 GB, free: 8.664 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004914/0.6681, allocations: 307.9 kB / 0.6779 GB, free: 8.363 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007237/0.6689, allocations: 389.6 kB / 0.6783 GB, free: 7.984 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6689, allocations: 4 kB / 0.6783 GB, free: 7.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001508/0.6704, allocations: 0.7942 MB / 0.679 GB, free: 7.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.6704, allocations: 4 kB / 0.679 GB, free: 7.176 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.6704, allocations: 3.953 kB / 0.6791 GB, free: 7.172 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.02e-05/0.6704, allocations: 4 kB / 0.6791 GB, free: 7.168 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007613/0.6712, allocations: 99.81 kB / 0.6792 GB, free: 7.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.6712, allocations: 4 kB / 0.6792 GB, free: 7.066 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004633/0.6717, allocations: 8 kB / 0.6792 GB, free: 7.059 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.664e-05/0.6718, allocations: 36.05 kB / 0.6792 GB, free: 7.023 MB / 474.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 0.0001937/0.672, allocations: 117.8 kB / 0.6793 GB, free: 6.898 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.114e-05/0.6721, allocations: 4 kB / 0.6793 GB, free: 6.895 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00346/0.6755, allocations: 1.407 MB / 0.6807 GB, free: 5.484 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.846e-06/0.6756, allocations: 11.95 kB / 0.6807 GB, free: 5.473 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.6756, allocations: 0 / 0.6807 GB, free: 5.473 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.6756, allocations: 3.984 kB / 0.6807 GB, free: 5.469 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/0.6787, allocations: 1.806 MB / 0.6825 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.278e-06/0.6787, allocations: 0 / 0.6825 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007989/0.6795, allocations: 111.9 kB / 0.6826 GB, free: 3.488 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.556e-06/0.6795, allocations: 4.031 kB / 0.6826 GB, free: 3.484 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.754e-05/0.6796, allocations: 27.94 kB / 0.6826 GB, free: 3.457 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.6796, allocations: 4 kB / 0.6826 GB, free: 3.453 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.6796, allocations: 0 / 0.6826 GB, free: 3.453 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002415/0.682, allocations: 1.482 MB / 0.6841 GB, free: 1.945 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.472e-05/0.6821, allocations: 92.98 kB / 0.6841 GB, free: 1.836 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.844e-05/0.6822, allocations: 8.062 kB / 0.6842 GB, free: 1.828 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004861/0.6827, allocations: 15.98 kB / 0.6842 GB, free: 1.812 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.6828, allocations: 39.97 kB / 0.6842 GB, free: 1.773 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.392e-05/0.6829, allocations: 32 kB / 0.6842 GB, free: 1.742 MB / 474.7 MB Notification: Performance of sorting global known variables: time 4.19e-05/0.683, allocations: 75.28 kB / 0.6843 GB, free: 1.668 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.683, allocations: 0 / 0.6843 GB, free: 1.668 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006623/0.6836, allocations: 215.7 kB / 0.6845 GB, free: 1.457 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (40): * Single equations (assignments): 40 * 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.003174/0.6868, allocations: 2.251 MB / 0.6867 GB, free: 15.17 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.6881, allocations: 0.7203 MB / 0.6874 GB, free: 14.45 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6881, allocations: 0 / 0.6874 GB, free: 14.45 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006648/0.6888, allocations: 455.6 kB / 0.6878 GB, free: 14 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002156/0.689, allocations: 12.12 kB / 0.6879 GB, free: 13.99 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005669/0.6947, allocations: 2.178 MB / 0.69 GB, free: 11.77 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.695, allocations: 0.7184 MB / 0.6907 GB, free: 11.02 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.001419/0.6965, allocations: 293.6 kB / 0.691 GB, free: 10.73 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005684/0.697, allocations: 115.4 kB / 0.6911 GB, free: 10.62 MB / 490.7 MB Notification: Performance of SimCode: time 1.183e-06/0.6971, allocations: 0 / 0.6911 GB, free: 10.62 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02937/0.7264, allocations: 11.39 MB / 0.7022 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002564/0.7268, allocations: 202.2 kB / 0.7024 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.787/2.513, allocations: 0 / 0.7024 GB, free: 15.2 MB / 0.4948 GB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_SpliceFunctionDerivativeCheck.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck.pipe 2>&1)