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.001942/0.001942, allocations: 96.42 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002181/0.002182, allocations: 175.3 kB / 16.57 MB, free: 6.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.758/2.758, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7139/0.7139, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002941, allocations: 17.98 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1358, allocations: 77.12 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.SpliceFunctionDerivativeCheck): time 0.0004795/0.1363, allocations: 323.1 kB / 0.557 GB, free: 11.37 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00116/0.1375, allocations: 1.235 MB / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.081e-05/0.1375, allocations: 0 / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 6.102e-06/0.1375, allocations: 3.938 kB / 0.5583 GB, free: 10.12 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 1.143e-05/0.1375, allocations: 4 kB / 0.5583 GB, free: 10.11 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001682/0.1377, allocations: 47.83 kB / 0.5583 GB, free: 10.07 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.626e-05/0.1377, allocations: 15.97 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 1.833e-05/0.1378, allocations: 4 kB / 0.5583 GB, free: 10.05 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.247e-05/0.1378, allocations: 11.98 kB / 0.5583 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.25e-05/0.1378, allocations: 11.92 kB / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.293e-06/0.1378, allocations: 4 kB / 0.5584 GB, free: 10.02 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.138, allocations: 91.89 kB / 0.5584 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.883e-06/0.138, allocations: 0 / 0.5584 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.992e-05/0.138, allocations: 41.64 kB / 0.5585 GB, free: 9.883 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 6.632e-05/0.1381, allocations: 47.92 kB / 0.5585 GB, free: 9.836 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.312e-06/0.1381, allocations: 0 / 0.5585 GB, free: 9.836 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1381, allocations: 0 / 0.5585 GB, free: 9.836 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.984e-06/0.1381, allocations: 0 / 0.5585 GB, free: 9.836 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.0002542/0.1384, allocations: 335.6 kB / 0.5588 GB, free: 9.461 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.462e-05/0.1384, allocations: 12.03 kB / 0.5589 GB, free: 9.449 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.502e-05/0.1384, allocations: 34.56 kB / 0.5589 GB, free: 9.406 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.756e-05/0.1385, allocations: 11.84 kB / 0.5589 GB, free: 9.395 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.726e-05/0.1385, allocations: 171 kB / 0.5591 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.889e-06/0.1386, allocations: 0 / 0.5591 GB, free: 9.188 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.468e-05/0.1386, allocations: 8 kB / 0.5591 GB, free: 9.18 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.56e-05/0.1387, allocations: 53.58 kB / 0.5591 GB, free: 9.121 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.1387, allocations: 11.92 kB / 0.5591 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.891e-06/0.1387, allocations: 0 / 0.5591 GB, free: 9.109 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1387, allocations: 7.984 kB / 0.5591 GB, free: 9.102 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.552e-05/0.1387, allocations: 23.98 kB / 0.5592 GB, free: 9.078 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000117/0.1389, allocations: 165.7 kB / 0.5593 GB, free: 8.867 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.509e-05/0.1389, allocations: 54.56 kB / 0.5594 GB, free: 8.805 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003643/0.1393, allocations: 0.5583 MB / 0.5599 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.873e-05/0.1393, allocations: 38.5 kB / 0.56 GB, free: 8.07 MB / 430.1 MB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.1394, allocations: 4 kB / 0.56 GB, free: 8.066 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.01736/0.1567, allocations: 4.275 MB / 0.5641 GB, free: 3.645 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.1568, allocations: 51.41 kB / 0.5642 GB, free: 3.582 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.437e-05/0.1568, allocations: 93.86 kB / 0.5643 GB, free: 3.48 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 6.632e-05/0.1569, allocations: 25.7 kB / 0.5643 GB, free: 3.449 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.472e-05/0.1569, allocations: 88.27 kB / 0.5644 GB, free: 3.359 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.919e-05/0.157, allocations: 59.19 kB / 0.5644 GB, free: 3.301 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.312e-05/0.1571, allocations: 0 / 0.5644 GB, free: 3.301 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.623e-05/0.1571, allocations: 314.8 kB / 0.5647 GB, free: 2.984 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004338/0.1576, allocations: 311.8 kB / 0.565 GB, free: 2.68 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004305/0.158, allocations: 315.8 kB / 0.5653 GB, free: 2.371 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006534/0.1587, allocations: 383.9 kB / 0.5657 GB, free: 1.996 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1587, allocations: 3.938 kB / 0.5657 GB, free: 1.992 MB / 430.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0013/0.16, allocations: 0.8082 MB / 0.5665 GB, free: 1.18 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.16, allocations: 8 kB / 0.5665 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.16, allocations: 0 / 0.5665 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.16, allocations: 0 / 0.5665 GB, free: 1.172 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007451/0.1608, allocations: 87.95 kB / 0.5666 GB, free: 1.086 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1608, allocations: 7.984 kB / 0.5666 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005106/0.1613, allocations: 8 kB / 0.5666 GB, free: 1.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.941e-05/0.1614, allocations: 31.98 kB / 0.5666 GB, free: 1.039 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001635/0.1616, allocations: 121.8 kB / 0.5668 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.606e-05/0.1616, allocations: 11.86 kB / 0.5668 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002966/0.1646, allocations: 1.396 MB / 0.5681 GB, free: 15.49 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.1646, allocations: 7.984 kB / 0.5681 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1646, allocations: 0 / 0.5681 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1646, allocations: 0 / 0.5681 GB, free: 15.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002429/0.1671, allocations: 1.825 MB / 0.5699 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.1671, allocations: 0 / 0.5699 GB, free: 13.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007239/0.1678, allocations: 107.9 kB / 0.57 GB, free: 13.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.1678, allocations: 4 kB / 0.57 GB, free: 13.49 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.278e-05/0.1679, allocations: 31.98 kB / 0.5701 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1679, allocations: 3.938 kB / 0.5701 GB, free: 13.46 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1679, allocations: 4 kB / 0.5701 GB, free: 13.45 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001981/0.1699, allocations: 1.475 MB / 0.5715 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.767e-05/0.1699, allocations: 92.89 kB / 0.5716 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.656e-05/0.17, allocations: 8 kB / 0.5716 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/0.1705, allocations: 8 kB / 0.5716 GB, free: 11.83 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.1707, allocations: 47.92 kB / 0.5717 GB, free: 11.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.131e-05/0.1707, allocations: 31.98 kB / 0.5717 GB, free: 11.75 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.358e-05/0.1707, allocations: 79.28 kB / 0.5718 GB, free: 11.67 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1708, allocations: 160 / 0.5718 GB, free: 11.67 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000501/0.1713, allocations: 176 kB / 0.5719 GB, free: 11.5 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 (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.002497/0.1738, allocations: 2.212 MB / 0.5741 GB, free: 9.254 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.1748, allocations: 0.7223 MB / 0.5748 GB, free: 8.531 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1748, allocations: 0 / 0.5748 GB, free: 8.531 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005411/0.1753, allocations: 452.1 kB / 0.5752 GB, free: 8.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001716/0.1755, allocations: 7.953 kB / 0.5752 GB, free: 8.082 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004839/0.1804, allocations: 2.151 MB / 0.5773 GB, free: 5.875 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/0.1806, allocations: 0.7184 MB / 0.578 GB, free: 5.133 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001328/0.1819, allocations: 297.5 kB / 0.5783 GB, free: 4.844 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005005/0.1824, allocations: 119.3 kB / 0.5784 GB, free: 4.73 MB / 446.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1824, allocations: 0 / 0.5784 GB, free: 4.73 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.437/1.62, allocations: 11.64 MB / 0.5898 GB, free: 33.22 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00026/1.62, allocations: 201 kB / 0.59 GB, free: 32.98 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.263/4.883, allocations: 3.938 kB / 0.59 GB, free: 32.98 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/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) Environment - environmentSimulation: