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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001309/0.001309, allocations: 107.1 kB / 15.98 MB, free: 5.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001349/0.001349, allocations: 197.6 kB / 16.91 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 222.9 MB / 240.6 MB, free: 4.5 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6996/0.6996, allocations: 115.3 MB / 406.1 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 60.22 kB / 493.2 MB, free: 6.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1861/0.1874, allocations: 76.2 MB / 0.5561 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.002053/0.1895, allocations: 0.6614 MB / 0.5567 GB, free: 9.879 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.1912, allocations: 1.283 MB / 0.558 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.1912, allocations: 0 / 0.558 GB, free: 8.578 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.824e-05/0.1912, allocations: 3.938 kB / 0.558 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.443e-05/0.1913, allocations: 0 / 0.558 GB, free: 8.574 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003996/0.1917, allocations: 67.81 kB / 0.558 GB, free: 8.508 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.19e-05/0.1917, allocations: 23.97 kB / 0.5581 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.183e-05/0.1918, allocations: 0 / 0.5581 GB, free: 8.484 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.682e-05/0.1918, allocations: 11.94 kB / 0.5581 GB, free: 8.473 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.315e-05/0.1919, allocations: 19.92 kB / 0.5581 GB, free: 8.453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1919, allocations: 0 / 0.5581 GB, free: 8.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002349/0.1922, allocations: 103.8 kB / 0.5582 GB, free: 8.352 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/0.1922, allocations: 8 kB / 0.5582 GB, free: 8.344 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.478e-05/0.1922, allocations: 7.938 kB / 0.5582 GB, free: 8.336 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.1924, allocations: 71.83 kB / 0.5583 GB, free: 8.266 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1924, allocations: 0 / 0.5583 GB, free: 8.266 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1924, allocations: 0 / 0.5583 GB, free: 8.266 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.265e-05/0.1924, allocations: 0 / 0.5583 GB, free: 8.266 MB / 430.1 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.0004999/0.1929, allocations: 355.7 kB / 0.5586 GB, free: 7.871 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.193, allocations: 12.03 kB / 0.5586 GB, free: 7.859 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.16e-05/0.193, allocations: 38.75 kB / 0.5587 GB, free: 7.812 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.356e-05/0.193, allocations: 4.938 kB / 0.5587 GB, free: 7.809 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000136/0.1932, allocations: 160.4 kB / 0.5588 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1932, allocations: 384 / 0.5588 GB, free: 7.613 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.512e-05/0.1932, allocations: 8.375 kB / 0.5588 GB, free: 7.605 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001298/0.1934, allocations: 53.8 kB / 0.5589 GB, free: 7.547 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.381e-05/0.1934, allocations: 11.94 kB / 0.5589 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1934, allocations: 0 / 0.5589 GB, free: 7.535 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1934, allocations: 4 kB / 0.5589 GB, free: 7.531 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.556e-05/0.1935, allocations: 19.98 kB / 0.5589 GB, free: 7.512 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.1937, allocations: 169.6 kB / 0.5591 GB, free: 7.297 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001155/0.1938, allocations: 54.56 kB / 0.5591 GB, free: 7.234 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.233e-05/0.1939, allocations: 24.84 kB / 0.5591 GB, free: 7.207 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000514/0.1944, allocations: 0.5625 MB / 0.5597 GB, free: 6.516 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.1944, allocations: 46.42 kB / 0.5597 GB, free: 6.461 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.1944, allocations: 3.938 kB / 0.5597 GB, free: 6.457 MB / 430.1 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.01947/0.2139, allocations: 4.357 MB / 0.564 GB, free: 1.957 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.518e-05/0.214, allocations: 55.41 kB / 0.564 GB, free: 1.891 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.37e-05/0.214, allocations: 93.86 kB / 0.5641 GB, free: 1.789 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.539e-05/0.2141, allocations: 25.7 kB / 0.5642 GB, free: 1.758 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.925e-05/0.2142, allocations: 84.14 kB / 0.5642 GB, free: 1.672 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.2143, allocations: 59.22 kB / 0.5643 GB, free: 1.613 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000254/0.2146, allocations: 97.67 kB / 0.5644 GB, free: 1.512 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2147, allocations: 322.8 kB / 0.5647 GB, free: 1.188 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005065/0.2152, allocations: 307.9 kB / 0.565 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004905/0.2157, allocations: 305.8 kB / 0.5653 GB, free: 0.5898 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001457/0.2172, allocations: 0.7765 MB / 0.566 GB, free: 15.81 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.2172, allocations: 0 / 0.566 GB, free: 15.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001508/0.2187, allocations: 0.8019 MB / 0.5668 GB, free: 15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.2187, allocations: 4 kB / 0.5668 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.541e-06/0.2187, allocations: 4 kB / 0.5668 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.2187, allocations: 0 / 0.5668 GB, free: 14.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007643/0.2195, allocations: 91.94 kB / 0.5669 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.2195, allocations: 7.938 kB / 0.5669 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/0.22, allocations: 8 kB / 0.5669 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.099e-05/0.2201, allocations: 35.98 kB / 0.567 GB, free: 14.85 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002002/0.2203, allocations: 125.7 kB / 0.5671 GB, free: 14.72 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.501e-05/0.2204, allocations: 7.984 kB / 0.5671 GB, free: 14.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003214/0.2236, allocations: 1.396 MB / 0.5685 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.773e-06/0.2236, allocations: 4 kB / 0.5685 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.2236, allocations: 0 / 0.5685 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.2237, allocations: 0 / 0.5685 GB, free: 13.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002894/0.2266, allocations: 1.837 MB / 0.5703 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.2266, allocations: 0 / 0.5703 GB, free: 11.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007427/0.2273, allocations: 103.9 kB / 0.5704 GB, free: 11.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.2273, allocations: 4 kB / 0.5704 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.914e-05/0.2274, allocations: 31.94 kB / 0.5704 GB, free: 11.28 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.39e-06/0.2274, allocations: 8.031 kB / 0.5704 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.2274, allocations: 0 / 0.5704 GB, free: 11.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002342/0.2298, allocations: 1.461 MB / 0.5718 GB, free: 9.793 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.855e-05/0.2299, allocations: 88.98 kB / 0.5719 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.504e-05/0.23, allocations: 11.94 kB / 0.5719 GB, free: 9.676 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004803/0.2304, allocations: 15.94 kB / 0.5719 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/0.2306, allocations: 44.02 kB / 0.572 GB, free: 9.617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-05/0.2307, allocations: 39.94 kB / 0.572 GB, free: 9.578 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.348e-05/0.2307, allocations: 75.28 kB / 0.5721 GB, free: 9.504 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2307, allocations: 0 / 0.5721 GB, free: 9.504 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000595/0.2313, allocations: 184 kB / 0.5723 GB, free: 9.324 MB / 446.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003181/0.2345, allocations: 2.139 MB / 0.5744 GB, free: 7.156 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001287/0.2358, allocations: 0.7339 MB / 0.5751 GB, free: 6.422 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.2358, allocations: 0 / 0.5751 GB, free: 6.422 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006518/0.2365, allocations: 452.1 kB / 0.5755 GB, free: 5.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.2368, allocations: 18.77 kB / 0.5755 GB, free: 5.965 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007629/0.2445, allocations: 3.763 MB / 0.5792 GB, free: 2.117 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004065/0.2449, allocations: 0.7142 MB / 0.5799 GB, free: 1.375 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001465/0.2464, allocations: 294.5 kB / 0.5802 GB, free: 1.086 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005864/0.247, allocations: 119.4 kB / 0.5803 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of SimCode: time 7.92e-07/0.247, allocations: 3.938 kB / 0.5803 GB, free: 0.9688 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3031/0.5501, allocations: 12.56 MB / 0.5926 GB, free: 31.29 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002866/0.5505, allocations: 229.6 kB / 0.5928 GB, free: 31.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/2.329, allocations: 0 / 0.5928 GB, free: 31.03 MB / 446.1 MB (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/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)